diff options
| author | Max Nanis | 2026-08-26 16:46:45 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-08-26 16:46:45 -0700 |
| commit | cf239865ce440e1a71ee2360514eaeb018620ac9 (patch) | |
| tree | 1fefff4a0bbf10df6431e541aa5a3ff5e76f0663 /tests/models/prodege/test_survey_participation.py | |
| parent | 47ea200eac0eaa7bef02f6ebb05de9afad5ee0d7 (diff) | |
| download | generalresearch-cf239865ce440e1a71ee2360514eaeb018620ac9.tar.gz generalresearch-cf239865ce440e1a71ee2360514eaeb018620ac9.zip | |
Ruff afternoon!
Diffstat (limited to 'tests/models/prodege/test_survey_participation.py')
| -rw-r--r-- | tests/models/prodege/test_survey_participation.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/models/prodege/test_survey_participation.py b/tests/models/prodege/test_survey_participation.py index e1ba9ab..10ce884 100644 --- a/tests/models/prodege/test_survey_participation.py +++ b/tests/models/prodege/test_survey_participation.py @@ -1,14 +1,17 @@ +from __future__ import annotations + from datetime import UTC, datetime, timedelta +from generalresearch.models.prodege import ProdegePastParticipationType +from generalresearch.models.prodege.survey import ( + ProdegePastParticipation, + ProdegeUserPastParticipation, +) + class TestProdegeParticipation: def test_exclude(self): - from generalresearch.models.prodege import ProdegePastParticipationType - from generalresearch.models.prodege.survey import ( - ProdegePastParticipation, - ProdegeUserPastParticipation, - ) now = datetime.now(tz=UTC) pp = ProdegePastParticipation.from_api( @@ -84,10 +87,6 @@ class TestProdegeParticipation: assert not pp.is_eligible(upps) def test_include(self): - from generalresearch.models.prodege.survey import ( - ProdegePastParticipation, - ProdegeUserPastParticipation, - ) now = datetime.now(tz=UTC) pp = ProdegePastParticipation.from_api( |
