Skip to content

Commit

Permalink
🔨 Disabled credential-necessary unit tests until public simulation is…
Browse files Browse the repository at this point in the history
… available.
  • Loading branch information
cardboardcode committed Oct 24, 2024
1 parent 9a1fd6e commit 79d8f0a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions door_adapter_megazo/test/test_DoorClientAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ def test_DoorClientAPI_check_connection(self):
"""Test if the connection to Megazo server was successful."""
self.assertEqual(self.api.check_connection() is None, False)

def test_DoorClientAPI_get_DeviceID_ProjectID(self):
"""Test if the ICED Device and Project ID were successfully retrieved."""
device_id, project_id = self.api.get_iced_list_deviceID(self.door_id)
project_id_2 = self.api.sign_in_project(project_id)

self.assertEqual(device_id is None, True)
self.assertEqual(project_id is None, True)
self.assertEqual(project_id_2 is None, True)
# def test_DoorClientAPI_get_DeviceID_ProjectID(self):
# """Test if the ICED Device and Project ID were successfully retrieved."""
# device_id, project_id = self.api.get_iced_list_deviceID(self.door_id)
# project_id_2 = self.api.sign_in_project(project_id)

# self.assertEqual(device_id is None, True)
# self.assertEqual(project_id is None, True)
# self.assertEqual(project_id_2 is None, True)


if __name__ == '__main__':
Expand Down

0 comments on commit 79d8f0a

Please sign in to comment.