Skip to content

Commit

Permalink
✅(prefect) fix tests expected results
Browse files Browse the repository at this point in the history
We've modified the statique dataset used in development (see 0fda186)
and forgot to modify the postgresql dump accordingly. Now that we've
updated this database dump, tests where failing since expectations
evolved.
  • Loading branch information
jmaupetit committed Feb 6, 2025
1 parent 4540a8c commit b31a917
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/prefect/tests/infrastructure/test_i1.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
Level.EPCI,
"SELECT COUNT(*) FROM EPCI",
["200054781", "200054807", "200046977"],
2257,
2250,
),
(
Level.DEPARTMENT,
"SELECT COUNT(*) FROM Department",
["59", "75", "13"],
1493,
1489,
),
(
Level.REGION,
"SELECT COUNT(*) FROM Region",
["11", "84", "75"],
8734,
8724,
),
]
PARAMETERS_GET_VALUES = [
Expand All @@ -45,17 +45,17 @@
(
Level.EPCI,
"SELECT id FROM EPCI WHERE code IN ('200054781', '200054807', '200046977')",
2257,
2250,
),
(
Level.DEPARTMENT,
"SELECT id FROM Department WHERE code IN ('59', '75', '13')",
1493,
1489,
),
(
Level.REGION,
"SELECT id FROM Region WHERE code IN ('11', '84', '75')",
8734,
8724,
),
]
PARAMETERS_CHUNK = [10, 50, 100, 500]
Expand Down
12 changes: 6 additions & 6 deletions src/prefect/tests/infrastructure/test_t1.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
Level.EPCI,
"SELECT COUNT(*) FROM EPCI",
["200054781", "200054807", "200046977"],
2257,
2250,
),
(
Level.DEPARTMENT,
"SELECT COUNT(*) FROM Department",
["59", "75", "13"],
1493,
1489,
),
(
Level.REGION,
"SELECT COUNT(*) FROM Region",
["11", "84", "75"],
8734,
8724,
),
]
PARAMETERS_GET_VALUES = [
Expand All @@ -45,17 +45,17 @@
(
Level.EPCI,
"SELECT id FROM EPCI WHERE code IN ('200054781', '200054807', '200046977')",
2257,
2250,
),
(
Level.DEPARTMENT,
"SELECT id FROM Department WHERE code IN ('59', '75', '13')",
1493,
1489,
),
(
Level.REGION,
"SELECT id FROM Region WHERE code IN ('11', '84', '75')",
8734,
8724,
),
]
PARAMETERS_CHUNK = [10, 50, 100, 500]
Expand Down

0 comments on commit b31a917

Please sign in to comment.