@@ -19,13 +19,13 @@ def test_get_status_auth_err(test_charger_auth_err):
19
19
def test_send_command (test_charger , send_command_mock ):
20
20
"""Test v4 Status reply"""
21
21
status = test_charger .send_command ("test" )
22
- assert status == (True , "$OK^20" )
22
+ assert status == ("OK" , "$OK^20" )
23
23
24
24
25
- def test_send_command (test_charger , send_command_mock_failed ):
25
+ def test_send_command_failed (test_charger , send_command_mock_failed ):
26
26
"""Test v4 Status reply"""
27
27
status = test_charger .send_command ("test" )
28
- assert status == (True , "$NK^21" )
28
+ assert status == ("OK" , "$NK^21" )
29
29
30
30
31
31
def test_send_command_missing (test_charger , send_command_mock_missing ):
@@ -37,7 +37,7 @@ def test_send_command_missing(test_charger, send_command_mock_missing):
37
37
def test_send_command_auth (test_charger_auth , send_command_mock ):
38
38
"""Test v4 Status reply"""
39
39
status = test_charger_auth .send_command ("test" )
40
- assert status == (True , "$OK^20" )
40
+ assert status == ("OK" , "$OK^20" )
41
41
42
42
43
43
def test_send_command_parse_err (test_charger_auth , send_command_parse_err ):
0 commit comments