Skip to content

Commit

Permalink
chore: consistent naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
djs0109 committed Feb 14, 2024
1 parent a559c26 commit c3635f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/clients/test_ngsi_v2_cb.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def on_disconnect(client, userdata, reasonCode, properties=None):
fiware_servicepath=settings.FIWARE_SERVICEPATH,
cb_url=settings.CB_URL)
def test_notification(self):
mqtt_sub_url = settings.MQTT_BROKER_URL
mqtt_url = settings.MQTT_BROKER_URL
mqtt_url_internal = settings.MQTT_BROKER_URL_INTERNAL
entity = ContextEntity.model_validate({
"id": "Test:001",
Expand Down Expand Up @@ -651,8 +651,8 @@ def on_disconnect(client, userdata, reasonCode, properties=None):
mqtt_client.on_message = on_message
mqtt_client.on_disconnect = on_disconnect
# connect to the server
mqtt_client.connect(host=mqtt_sub_url.host,
port=mqtt_sub_url.port,
mqtt_client.connect(host=mqtt_url.host,
port=mqtt_url.port,
keepalive=60,
bind_address="",
bind_port=0,
Expand Down

0 comments on commit c3635f6

Please sign in to comment.