diff options
| author | Michael Williamson <mike@zwobble.org> | 2022-11-25 22:50:05 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2022-11-25 22:58:16 +0000 |
| commit | 5093d72b9fece1a7c3d7a3d19e4161387ee6475a (patch) | |
| tree | c4122b0f72c7864897d78333e75328ac8c22685b /tests/conftest.py | |
| parent | 20e3e61530bef546058124c3015ae240733cc974 (diff) | |
Use pytest instead of nose
Diffstat (limited to 'tests/conftest.py')
| -rw-r--r-- | tests/conftest.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..a342abb --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,9 @@ +import funk +import pytest + + +@pytest.fixture(name="mocks") +def _fixture_mocks(): + mocks = funk.Mocks() + yield mocks + mocks.verify() |
