Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
c-ryan-k committed Dec 12, 2024
1 parent 6c28001 commit 446a051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azext_iot/tests/iothub/core/test_iot_messaging_int.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import pytest
import json
import time
from time import time, sleep

from uuid import uuid4
from azext_iot.iothub.common import NON_DECODABLE_PAYLOAD
Expand Down Expand Up @@ -774,7 +774,7 @@ def test_mqtt_device_simulation_x509(self):
model_id_simulate_x509ca = "dtmi:com:example:simulatex509ca;1"

# not sure why this needs a timer but it seems to help avoid unauthorized errors
time.sleep(60)
sleep(60)
self.cmd(
"iot device simulate -d {} -n {} -g {} --da '{}' --mc 1 --mi 1 --cp {} --kp {} --pass {} --model-id '{}'".format(
device_ids[1], self.entity_name, self.entity_rg, simulate_msg,
Expand Down

0 comments on commit 446a051

Please sign in to comment.