Skip to content

Commit

Permalink
Fixed test cases for bigquery
Browse files Browse the repository at this point in the history
  • Loading branch information
canimus committed Jan 28, 2024
1 parent 2b29bda commit 1ef43b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/bigquery/test_is_daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_negative():
check.is_daily("trip_end_timestamp")
rs = check.validate(df)
assert rs.status.str.match("FAIL")[1]
assert rs.violations[1] >= 29475
assert rs.violations[1] >= 29470
assert rs.pass_threshold[1] == 1.0
# assert rs.pass_rate[1] <= 208914146 / 208943621

Expand All @@ -48,6 +48,6 @@ def test_coverage():
check.is_daily("trip_end_timestamp", pct=0.7)
rs = check.validate(df)
assert rs.status.str.match("PASS")[1]
assert rs.violations[1] >= 29475
assert rs.violations[1] >= 29470
assert rs.pass_threshold[1] == 0.7
# assert rs.pass_rate[1] <= 208914146 / 208943621

0 comments on commit 1ef43b9

Please sign in to comment.