Skip to content

Commit

Permalink
revert check in test for ems
Browse files Browse the repository at this point in the history
  • Loading branch information
NormannK authored and drbacke committed Oct 8, 2024
1 parent 14c33fd commit a5a492b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_class_ems.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,15 @@ def test_simulation(create_ems_instance):

# Verify that the value at index 0 is 'None'
assert (
result["Last_Wh_pro_Stunde"][0] == 0.0
result["Last_Wh_pro_Stunde"][0] is None
), "The value at index 0 of 'Last_Wh_pro_Stunde' should be None."

# Check that 'Netzeinspeisung_Wh_pro_Stunde' and 'Netzbezug_Wh_pro_Stunde' are consistent
assert (
result["Netzeinspeisung_Wh_pro_Stunde"][0] == 0.0
result["Netzeinspeisung_Wh_pro_Stunde"][0] is None
), "The value at index 0 of 'Netzeinspeisung_Wh_pro_Stunde' should be None."
assert (
result["Netzbezug_Wh_pro_Stunde"][0] == 0.0
result["Netzbezug_Wh_pro_Stunde"][0] is None
), "The value at index 0 of 'Netzbezug_Wh_pro_Stunde' should be None."
assert (
result["Netzbezug_Wh_pro_Stunde"][1] == 21679.13
Expand Down

0 comments on commit a5a492b

Please sign in to comment.