Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
shalinnijel2 committed Nov 16, 2022
1 parent ea435a7 commit a325290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ def comm_secc_session_mock():
comm_session_mock.stop_reason = StopNotification(False, "pytest")
comm_session_mock.evse_controller = SimEVSEController()
comm_session_mock.protocol = Protocol.UNKNOWN
comm_session_mock.evse_id = "UK123E1234"
return comm_session_mock
1 change: 1 addition & 0 deletions tests/dinspec/secc/test_dinspec_secc_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def _comm_session(self):
self.comm_session.stop_reason = StopNotification(False, "pytest")
self.comm_session.evse_controller = SimEVSEController()
self.comm_session.protocol = Protocol.UNKNOWN
self.comm_session.evse_id = "UK123E1234"
self.comm_session.writer = MockWriter()

async def test_sap_to_billing(self):
Expand Down

0 comments on commit a325290

Please sign in to comment.