Skip to content

Commit bc355c4

Browse files
committed
Remove some old test fixtures #90
1 parent a4deafc commit bc355c4

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

test/unit/repositories/conftest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,3 @@ def mock_update_many(collection_mock: Mock) -> None:
154154
update_many_result_mock = Mock(UpdateResult)
155155
update_many_result_mock.acknowledged = True
156156
collection_mock.update_many.return_value = update_many_result_mock
157-
158-
159-
# pylint:disable=fixme
160-
# TODO: Remove this once tests refactored - should be able to just use `RepositoryTestHelpers.`
161-
@pytest.fixture(name="test_helpers")
162-
def fixture_test_helpers() -> Type[RepositoryTestHelpers]:
163-
"""
164-
Fixture to provide a TestHelpers class.
165-
"""
166-
return RepositoryTestHelpers

test/unit/services/conftest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -406,16 +406,6 @@ def construct_properties_in_and_post_with_ids(
406406
return expected_properties_in, property_post_schemas
407407

408408

409-
# pylint:disable=fixme
410-
# TODO: Remove this once tests refactored - should be able to just use `ServiceTestHelpers.`
411-
@pytest.fixture(name="test_helpers")
412-
def fixture_test_helpers() -> Type[ServiceTestHelpers]:
413-
"""
414-
Fixture to provide a TestHelpers class.
415-
"""
416-
return ServiceTestHelpers
417-
418-
419409
MODEL_MIXINS_FIXED_DATETIME_NOW = datetime(2024, 2, 16, 14, 0, 0, 0, tzinfo=timezone.utc)
420410

421411

0 commit comments

Comments
 (0)