Skip to content

Commit

Permalink
* tests/test_storage.py: Fix call in test_type_error().
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed Dec 13, 2023
1 parent fdbe9fa commit e6b9573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def test_initialisation(self):
def test_type_error(self):
"""Check that the wrong type raises a TypeError."""
with self.assertRaises(TypeError):
generators.Battery(WILDCARD, 400, None)
generators.Battery(WILDCARD, 400, 2, None)
with self.assertRaises(TypeError):
generators.BatteryLoad(WILDCARD, 400, None)

Expand Down

0 comments on commit e6b9573

Please sign in to comment.