Skip to content

Commit

Permalink
Remove now-unused fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamalama committed Sep 27, 2024
1 parent 0bff3ef commit 9f5af6e
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,6 @@ def minimal_contact_data() -> ContactSchema:
)


@pytest.fixture
def minimal_contact(minimal_contact_data: ContactSchema, dbsession) -> ContactSchema:
create_full_contact(dbsession, minimal_contact_data)
return minimal_contact_data


@pytest.fixture
def maximal_contact_data() -> ContactSchema:
email_id = UUID("67e52c77-950f-4f28-accb-bb3ea1a2c51a")
Expand Down Expand Up @@ -391,12 +385,6 @@ def maximal_contact_data() -> ContactSchema:
)


@pytest.fixture
def maximal_contact(dbsession, maximal_contact_data: ContactSchema) -> ContactSchema:
create_full_contact(dbsession, maximal_contact_data)
return maximal_contact_data


@pytest.fixture
def example_contact_data() -> ContactSchema:
return ContactSchema(
Expand Down Expand Up @@ -436,12 +424,6 @@ def to_add_contact_data() -> ContactSchema:
)


@pytest.fixture
def to_add_contact(dbsession, to_add_contact_data: ContactSchema) -> ContactSchema:
create_full_contact(dbsession, to_add_contact_data)
return to_add_contact_data


@pytest.fixture
def simple_default_contact_data():
return ContactSchema(
Expand All @@ -456,14 +438,6 @@ def simple_default_contact_data():
)


@pytest.fixture
def simple_default_contact(
dbsession, simple_default_contact_data: ContactSchema
) -> ContactSchema:
create_full_contact(dbsession, simple_default_contact_data)
return simple_default_contact_data


@pytest.fixture
def default_newsletter_contact_data():
contact = ContactSchema(
Expand All @@ -479,14 +453,6 @@ def default_newsletter_contact_data():
return contact


@pytest.fixture
def default_newsletter_contact(
dbsession, default_newsletter_contact_data: ContactSchema
) -> ContactSchema:
create_full_contact(dbsession, default_newsletter_contact_data)
return default_newsletter_contact_data


@pytest.fixture
def default_waitlist_contact_data():
contact = ContactSchema(
Expand Down

0 comments on commit 9f5af6e

Please sign in to comment.