Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Jan 25, 2024
1 parent 6c99dc2 commit 09b8e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/measurement/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_query_ordering(self):

class TestReport(TestCase):
def setUp(self) -> None:
from measurement.models import Report
from measurement.models import Report, ReportType
from station.models import Station
from variable.models import Variable

Expand All @@ -83,7 +83,7 @@ def setUp(self) -> None:
station=station,
variable=variable,
value=42,
report_type=Report.HOURLY,
report_type=ReportType.HOURLY,
completeness=1,
)

Expand Down

0 comments on commit 09b8e2d

Please sign in to comment.