Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Jun 24, 2023
1 parent 1433dda commit be8bea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ def test_fuzzy_dict(self):
d.__getitem__("Measured open circuit voltage [V]")

with self.assertRaisesRegex(KeyError, "Lower voltage"):
d.__getitem__("Open circuit voltage at 0% SOC [V]")
d.__getitem__("Open-circuit voltage at 0% SOC [V]")

with self.assertRaisesRegex(KeyError, "Upper voltage"):
d.__getitem__("Open circuit voltage at 100% SOC [V]")
d.__getitem__("Open-circuit voltage at 100% SOC [V]")

def test_get_parameters_filepath(self):
tempfile_obj = tempfile.NamedTemporaryFile("w", dir=".")
Expand Down

0 comments on commit be8bea6

Please sign in to comment.