Skip to content

Commit

Permalink
update for removed assertDictContainsSubset
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Meadows committed Mar 10, 2024
1 parent 94205cd commit eddd1c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_flaky_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ def test_something():
}

self.assertIsNotNone(flaky_attribute)
self.assertDictContainsSubset(
self.assertLessThanOrEqualTo(
{
FlakyNames.MIN_PASSES: min_passes,
FlakyNames.MAX_RUNS: max_runs,
FlakyNames.CURRENT_PASSES: 0,
FlakyNames.CURRENT_RUNS: 0,
FlakyNames.CURRENT_ERRORS: None
},
flaky_attribute
}.items(),
flaky_attribute.items()
)

0 comments on commit eddd1c1

Please sign in to comment.