Skip to content

Commit

Permalink
* tests/test_storage.py (TestBattery.test_zero_power): Not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed Dec 13, 2023
1 parent 4ca554b commit b9c3034
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,6 @@ def test_to_full(self):
self.assertEqual(result, 100)
self.assertEqual(self.stor.storage, 800)

def test_zero_power(self):
"""Test a battery with zero capacity."""
zerostor = storage.BatteryStorage(0)
with self.assertRaises(AssertionError):
generators.BatteryLoad(WILDCARD, 400, zerostor, rte=1)

def test_reset(self):
"""Test battery reset() method."""
batt = generators.BatteryLoad(WILDCARD, 400, self.stor, rte=1)
Expand Down

0 comments on commit b9c3034

Please sign in to comment.