Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmerza committed Mar 21, 2024
1 parent 0fba188 commit 1fff99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_run_mqtt_client(self, mock_mqtt_client):
mock_client_instance.username_pw_set.assert_called_with('username', 'password')

# Assert that the client attempts to connect and enters the loop
mock_client_instance.connect.assert_called_with('mqtt.example.com')
mock_client_instance.connect.assert_called_with('mqtt.example.com', 1883)
mock_client_instance.loop_forever.assert_called()

class TestHasCommonValue(BaseTestCase):
Expand Down

0 comments on commit 1fff99a

Please sign in to comment.