Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
liuly12 committed Oct 9, 2024
1 parent ca7668f commit bdd0b1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ def test_river_overrides(self):
self.assertEqual(getattr(river, k), v)
# test runtimeerrors
self.assertRaises(RuntimeError, lambda: river.apply_overrides({'area': 75.2}))
self.assertRaises(RuntimeError, lambda: river.apply_overrides({'capacity': 123}))
self.assertRaises(
RuntimeError, lambda: river.apply_overrides({"capacity": 123})
)

def test_riverreservoir_overrides(self):
riverreservoir = RiverReservoir(name="")
Expand Down

0 comments on commit bdd0b1b

Please sign in to comment.