From b9c303433f5637ba981942d4bc950b3d295eb1c9 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 13 Dec 2023 17:57:29 +1100 Subject: [PATCH] * tests/test_storage.py (TestBattery.test_zero_power): Not needed. --- tests/test_storage.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/test_storage.py b/tests/test_storage.py index 8b64c794..6d2134e8 100644 --- a/tests/test_storage.py +++ b/tests/test_storage.py @@ -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)