mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-06-27 16:36:53 +00:00
revert check in test for ems
This commit is contained in:
parent
62339a0e6c
commit
dc8f2f94b8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user