Skip to content

Instantly share code, notes, and snippets.

@YoDaMa
Created October 25, 2019 21:08
Show Gist options
  • Save YoDaMa/9b25b078cf4e262ab61f275537bfb37f to your computer and use it in GitHub Desktop.
Save YoDaMa/9b25b078cf4e262ab61f275537bfb37f to your computer and use it in GitHub Desktop.
============================= test session starts =============================
platform win32 -- Python 3.7.0, pytest-5.2.1, py-1.8.0, pluggy-0.13.0
rootdir: e:\GitRepos\Python\custom_user_agent, inifile: pytest.ini
plugins: asyncio-0.10.0, cov-2.8.1, mock-1.10.4, testdox-1.2.0, timeout-1.3.3
timeout: 20.0s
timeout method: thread
timeout func_only: False
collected 2785 items
tests\common\test_async_adapter.py ............ [ 0%]
tests\common\test_asyncio_compat.py ..ss.s.s [ 0%]
tests\common\test_connection_string.py ................ [ 1%]
tests\common\test_evented_callback.py ........ [ 1%]
tests\common\test_mqtt_transport.py .................................... [ 2%]
........................................................................ [ 5%]
........................................................................ [ 8%]
.............................................. [ 9%]
tests\common\test_sastoken.py ............ [ 10%]
tests\common\pipeline\test_pipeline_events_base.py .... [ 10%]
tests\common\pipeline\test_pipeline_events_mqtt.py ... [ 10%]
tests\common\pipeline\test_pipeline_ops_base.py ........................ [ 11%]
. [ 11%]
tests\common\pipeline\test_pipeline_ops_mqtt.py ............ [ 11%]
tests\common\pipeline\test_pipeline_stages_base.py ..................... [ 12%]
........................................................................ [ 15%]
.....F..........................................F....................... [ 17%]
..........................F............................................F [ 20%]
...................................................F.................... [ 22%]
........................................................................ [ 25%]
........................................................................ [ 27%]
........................................................................ [ 30%]
........................................................................ [ 33%]
.................................... [ 34%]
tests\common\pipeline\test_pipeline_stages_mqtt.py ................F.... [ 35%]
........................................................................ [ 37%]
................................................. [ 39%]
tests\iothub\test_inbox_manager.py ..................................... [ 40%]
........... [ 41%]
tests\iothub\test_sync_clients.py ........................x............. [ 42%]
........................................................................ [ 45%]
...................................x.............................x...... [ 47%]
........................................................................ [ 50%]
.......................... [ 51%]
tests\iothub\test_sync_inbox.py .......... [ 51%]
tests\iothub\aio\test_async_clients.py ................................. [ 52%]
.......x................................................................ [ 55%]
............................................x........................... [ 58%]
......x................................................................. [ 60%]
............. [ 61%]
tests\iothub\aio\test_async_inbox.py ........ [ 61%]
tests\iothub\auth\test_base_renewable_token_authentication_provider.py . [ 61%]
.......... [ 61%]
tests\iothub\auth\test_iotedge_authentication_provider.py .............. [ 62%]
.......... [ 62%]
tests\iothub\auth\test_sas_authentication_provider.py .................. [ 63%]
[ 63%]
tests\iothub\auth\test_sk_authentication_provider.py ............. [ 63%]
tests\iothub\auth\test_x509_authentication_provider.py ..... [ 63%]
tests\iothub\models\test_message.py ......... [ 64%]
tests\iothub\models\test_methods.py ......... [ 64%]
tests\iothub\pipeline\test_iothub_pipeline.py .......................... [ 65%]
........................................................... [ 67%]
tests\iothub\pipeline\test_pipeline_events_iothub.py ............ [ 68%]
tests\iothub\pipeline\test_pipeline_ops_iothub.py ...................... [ 68%]
.. [ 68%]
tests\iothub\pipeline\test_pipeline_stages_iothub.py ................... [ 69%]
....................................FFFF................................ [ 72%]
.....................................FFFF............................... [ 74%]
........................................................................ [ 77%]
........ [ 77%]
tests\iothub\pipeline\test_pipeline_stages_iothub_mqtt.py .............. [ 78%]
...................FFF.................................................. [ 80%]
...................................................................sssss [ 83%]
s.sssssssssss............................................s..s.s..s...... [ 85%]
...................................... [ 87%]
tests\provisioning\test_provisioning_device_client.py . [ 87%]
tests\provisioning\test_sync_provisioning_device_client.py ............. [ 87%]
..... [ 87%]
tests\provisioning\aio\test_async_provisioning_device_client.py ..XX..XX [ 88%]
................ [ 88%]
tests\provisioning\internal\test_polling_machine.py ............... [ 89%]
tests\provisioning\internal\test_registration_query_status_result.py .. [ 89%]
tests\provisioning\internal\test_request_response_provider.py .......... [ 89%]
[ 89%]
tests\provisioning\models\test_registration_result.py .............. [ 90%]
tests\provisioning\pipeline\test_pipeline_events_provisioning.py ... [ 90%]
tests\provisioning\pipeline\test_pipeline_ops_provisioning.py .......... [ 90%]
.. [ 90%]
tests\provisioning\pipeline\test_pipeline_stages_provisioning.py ....... [ 91%]
...........................................FF........................... [ 93%]
....................... [ 94%]
tests\provisioning\pipeline\test_pipeline_stages_provisioning_mqtt.py .. [ 94%]
......................................F................................. [ 97%]
....................................... [ 98%]
tests\provisioning\pipeline\test_provisioning_pipeline.py .............. [ 99%]
.F.................... [ 99%]
tests\provisioning\security\test_sk_security_client.py ... [ 99%]
tests\provisioning\security\test_x509_security_client.py .. [100%]
================================== FAILURES ===================================
_ TestEnsureConnectionStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD71386C88>
mocker = <pytest_mock.MockFixture object at 0x000001CD71386EF0>
stage = <azure.iot.device.common.pipeline.pipeline_stages_base.EnsureConnectionStage object at 0x000001CD71386828>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD727D2E48>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestSerializeConnectOpsStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD713C8240>
mocker = <pytest_mock.MockFixture object at 0x000001CD713C8320>
stage = <azure.iot.device.common.pipeline.pipeline_stages_base.SerializeConnectOpsStage object at 0x000001CD713C8198>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD713C8470>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestCoordinateRequestAndResponseStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD727BFEB8>
mocker = <pytest_mock.MockFixture object at 0x000001CD713552B0>
stage = <azure.iot.device.common.pipeline.pipeline_stages_base.CoordinateRequestAndResponseStage object at 0x000001CD713559E8>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD713557B8>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestTimeoutStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD713E41D0>
mocker = <pytest_mock.MockFixture object at 0x000001CD713E42E8>
stage = <azure.iot.device.common.pipeline.pipeline_stages_base.TimeoutStage object at 0x000001CD713E4F60>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD713E4EB8>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestRetryStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD71597EF0>
mocker = <pytest_mock.MockFixture object at 0x000001CD71597B38>
stage = <azure.iot.device.common.pipeline.pipeline_stages_base.RetryStage object at 0x000001CD71346630>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD71346F60>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestMQTTTransportStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD7148FE48>
mocker = <pytest_mock.MockFixture object at 0x000001CD71354EF0>
stage = <azure.iot.device.common.pipeline.pipeline_stages_mqtt.MQTTTransportStage object at 0x000001CD713541D0>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD71354668>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestUseAuthProviderStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD111EB748>
mocker = <pytest_mock.MockFixture object at 0x000001CD1108EBE0>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.UseAuthProviderStage object at 0x000001CD1108EAC8>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD1108E048>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestUseAuthProviderStageUnknownEvents.test_uses_background_exception_handler[C2DMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD11033208>
mocker = <pytest_mock.MockFixture object at 0x000001CD110337F0>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.UseAuthProviderStage object at 0x000001CD11033CC0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.C2DMessageEvent object at 0x000001CD11033BE0>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestUseAuthProviderStageUnknownEvents.test_uses_background_exception_handler[InputMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD1118ABE0>
mocker = <pytest_mock.MockFixture object at 0x000001CD1118A748>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.UseAuthProviderStage object at 0x000001CD70A699B0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.InputMessageEvent object at 0x000001CD10F18940>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestUseAuthProviderStageUnknownEvents.test_uses_background_exception_handler[MethodRequestEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD111DEAC8>
mocker = <pytest_mock.MockFixture object at 0x000001CD111DE160>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.UseAuthProviderStage object at 0x000001CD111DE588>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.MethodRequestEvent object at 0x000001CD111DE128>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestHandleTwinOperationsStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD11184588>
mocker = <pytest_mock.MockFixture object at 0x000001CD111849B0>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.HandleTwinOperationsStage object at 0x000001CD11184470>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD11184F60>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestHandleTwinOperationsStageUnknownEvents.test_uses_background_exception_handler[C2DMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD11184A90>
mocker = <pytest_mock.MockFixture object at 0x000001CD11173CF8>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.HandleTwinOperationsStage object at 0x000001CD111731D0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.C2DMessageEvent object at 0x000001CD111730B8>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestHandleTwinOperationsStageUnknownEvents.test_uses_background_exception_handler[InputMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD111B0BA8>
mocker = <pytest_mock.MockFixture object at 0x000001CD1086B8D0>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.HandleTwinOperationsStage object at 0x000001CD1086B0F0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.InputMessageEvent object at 0x000001CD10086BE0>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestHandleTwinOperationsStageUnknownEvents.test_uses_background_exception_handler[MethodRequestEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD10D804E0>
mocker = <pytest_mock.MockFixture object at 0x000001CD10D807F0>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub.HandleTwinOperationsStage object at 0x000001CD10D805C0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.MethodRequestEvent object at 0x000001CD10D80630>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestIoTHubMQTTConverterStageUnknownEvents.test_uses_background_exception_handler[C2DMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD10521048>
mocker = <pytest_mock.MockFixture object at 0x000001CD10D4F978>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub_mqtt.IoTHubMQTTConverterStage object at 0x000001CD10D4F8D0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.C2DMessageEvent object at 0x000001CD10D4F438>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestIoTHubMQTTConverterStageUnknownEvents.test_uses_background_exception_handler[InputMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD10565828>
mocker = <pytest_mock.MockFixture object at 0x000001CD105652E8>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub_mqtt.IoTHubMQTTConverterStage object at 0x000001CD10565CC0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.InputMessageEvent object at 0x000001CD10565BA8>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestIoTHubMQTTConverterStageUnknownEvents.test_uses_background_exception_handler[MethodRequestEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD10951D30>
mocker = <pytest_mock.MockFixture object at 0x000001CD109514E0>
stage = <azure.iot.device.iothub.pipeline.pipeline_stages_iothub_mqtt.IoTHubMQTTConverterStage object at 0x000001CD10951BE0>
event = <azure.iot.device.iothub.pipeline.pipeline_events_iothub.MethodRequestEvent object at 0x000001CD10951780>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestUseSecurityClientStageUnknownEvents.test_uses_background_exception_handler[IncomingMQTTMessageEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD10CC2518>
mocker = <pytest_mock.MockFixture object at 0x000001CD10AFD320>
stage = <azure.iot.device.provisioning.pipeline.pipeline_stages_provisioning.UseSecurityClientStage object at 0x000001CD10AFD390>
event = <azure.iot.device.common.pipeline.pipeline_events_mqtt.IncomingMQTTMessageEvent object at 0x000001CD10649E80>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestUseSecurityClientStageUnknownEvents.test_uses_background_exception_handler[RegistrationResponseEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD10AF7940>
mocker = <pytest_mock.MockFixture object at 0x000001CD10AF73C8>
stage = <azure.iot.device.provisioning.pipeline.pipeline_stages_provisioning.UseSecurityClientStage object at 0x000001CD10AF7A58>
event = <azure.iot.device.provisioning.pipeline.pipeline_events_provisioning.RegistrationResponseEvent object at 0x000001CD107C37B8>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestProvisioningMQTTConverterStageUnknownEvents.test_uses_background_exception_handler[RegistrationResponseEvent] _
self = <tests.common.pipeline.pipeline_stage_test._add_unknown_events_tests.<locals>.LocalTestObject object at 0x000001CD10FAADD8>
mocker = <pytest_mock.MockFixture object at 0x000001CD10FAA198>
stage = <azure.iot.device.provisioning.pipeline.pipeline_stages_provisioning_mqtt.ProvisioningMQTTConverterStage object at 0x000001CD10FAA5F8>
event = <azure.iot.device.provisioning.pipeline.pipeline_events_provisioning.RegistrationResponseEvent object at 0x000001CD10FAA940>
arbitrary_exception = ArbitraryException()
@pytest.mark.it(
"Sends any unexpected Exceptions raised during handling of the event to the background exception handler"
)
def test_uses_background_exception_handler(self, mocker, stage, event, arbitrary_exception):
stage._handle_pipeline_event = mocker.MagicMock(side_effect=arbitrary_exception)
> mocker.spy(handle_exceptions, "handle_background_exception")
E NameError: name 'handle_exceptions' is not defined
tests\common\pipeline\helpers.py:143: NameError
_ TestSendRegister.test_send_register_request_calls_publish_on_provider[X509] _
self = <tests.provisioning.pipeline.test_provisioning_pipeline.TestSendRegister object at 0x000001CD1278E4A8>
mock_provisioning_pipeline = <azure.iot.device.provisioning.pipeline.provisioning_pipeline.ProvisioningPipeline object at 0x000001CD127A12E8>
params_security_clients = {'client_class': <class 'azure.iot.device.provisioning.security.x509_security_client.X509SecurityClient'>, 'init_kwarg...s_op_class': <class 'azure.iot.device.provisioning.pipeline.pipeline_ops_provisioning.SetX509SecurityClientOperation'>}
mock_mqtt_transport = <MagicMock name='MQTTTransport()' id='1980289761576'>
@pytest.mark.it("Request calls publish on provider")
def test_send_register_request_calls_publish_on_provider(
self, mock_provisioning_pipeline, params_security_clients, mock_mqtt_transport
):
mock_provisioning_pipeline.connect()
mock_mqtt_transport.on_mqtt_connected_handler()
> mock_provisioning_pipeline.wait_for_on_connected_to_be_called()
tests\provisioning\pipeline\test_provisioning_pipeline.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def wait_for_method_to_be_called():
method_called.wait(0.1)
> assert method_called.isSet()
E AssertionError
tests\common\pipeline\helpers.py:235: AssertionError
---------------------------- Captured stderr setup ----------------------------
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting run_op in pipeline thread
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage(SetX509SecurityClientOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage(SetX509SecurityClientOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(SetX509SecurityClientOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(SetX509SecurityClientOperation): continuing with SetProvisioningClientConnectionArgsOperation op
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(SetProvisioningClientConnectionArgsOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): continuing with SetMQTTConnectionArgsOperation op
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(SetMQTTConnectionArgsOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:EnsureConnectionStage(SetMQTTConnectionArgsOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:EnsureConnectionStage(SetMQTTConnectionArgsOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(SetMQTTConnectionArgsOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(SetMQTTConnectionArgsOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:MQTTTransportStage(SetMQTTConnectionArgsOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage(SetMQTTConnectionArgsOperation): got connection args
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:MQTTTransportStage(SetMQTTConnectionArgsOperation): completing without error
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): completing with result from SetMQTTConnectionArgsOperation
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): completing without error
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(SetX509SecurityClientOperation): completing with result from SetProvisioningClientConnectionArgsOperation
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(SetX509SecurityClientOperation): completing without error
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting <azure.iot.device.common.evented_callback.EventedCallback object at 0x000001CD127A34A8> in callback thread
DEBUG:azure.iot.device.common.evented_callback:Callback completed with result None
----------------------------- Captured log setup ------------------------------
DEBUG azure.iot.device.common.pipeline.pipeline_thread:pipeline_thread.py:108 Starting run_op in pipeline thread
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 PipelineRootStage(SetX509SecurityClientOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 PipelineRootStage(SetX509SecurityClientOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 UseSecurityClientStage(SetX509SecurityClientOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:202 UseSecurityClientStage(SetX509SecurityClientOperation): continuing with SetProvisioningClientConnectionArgsOperation op
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 UseSecurityClientStage(SetProvisioningClientConnectionArgsOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:202 ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): continuing with SetMQTTConnectionArgsOperation op
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 ProvisioningMQTTConverterStage(SetMQTTConnectionArgsOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 EnsureConnectionStage(SetMQTTConnectionArgsOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 EnsureConnectionStage(SetMQTTConnectionArgsOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 SerializeConnectOpsStage(SetMQTTConnectionArgsOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 SerializeConnectOpsStage(SetMQTTConnectionArgsOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 MQTTTransportStage(SetMQTTConnectionArgsOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_mqtt:pipeline_stages_mqtt.py:54 MQTTTransportStage(SetMQTTConnectionArgsOperation): got connection args
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:245 MQTTTransportStage(SetMQTTConnectionArgsOperation): completing without error
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:207 ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): completing with result from SetMQTTConnectionArgsOperation
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:245 ProvisioningMQTTConverterStage(SetProvisioningClientConnectionArgsOperation): completing without error
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:207 UseSecurityClientStage(SetX509SecurityClientOperation): completing with result from SetProvisioningClientConnectionArgsOperation
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:245 UseSecurityClientStage(SetX509SecurityClientOperation): completing without error
DEBUG azure.iot.device.common.pipeline.pipeline_thread:pipeline_thread.py:108 Starting <azure.iot.device.common.evented_callback.EventedCallback object at 0x000001CD127A34A8> in callback thread
DEBUG azure.iot.device.common.evented_callback:evented_callback.py:51 Callback completed with result None
---------------------------- Captured stderr call -----------------------------
line thread
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage(ConnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage(ConnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(ConnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(ConnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(ConnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(ConnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:EnsureConnectionStage(ConnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:EnsureConnectionStage(ConnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(ConnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(ConnectOperation): blocking
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(ConnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:MQTTTransportStage(ConnectOperation): running
INFO:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage(ConnectOperation): connecting
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting _on_mqtt_connected in pipeline thread
INFO:azure.iot.device.common.pipeline.pipeline_stages_mqtt:_on_mqtt_connected called
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage: on_connected. on_connected_handler=<function ProvisioningPipeline.__init__.<locals>._on_connected at 0x000001CD10FB4B70>
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting _on_connected in callback thread
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_mqtt:completing connect op
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:MQTTTransportStage(ConnectOperation): completing without error
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(ConnectOperation): op succeeded. Unblocking queue
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(ConnectOperation): unblocking and releasing queued ops.
INFO:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(ConnectOperation): processing 0 items in queue
------------------------------ Captured log call ------------------------------
INFO azure.iot.device.provisioning.pipeline.provisioning_pipeline:provisioning_pipeline.py:93 connect called
DEBUG azure.iot.device.common.pipeline.pipeline_thread:pipeline_thread.py:108 Starting run_op in pipeline thread
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 PipelineRootStage(ConnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 PipelineRootStage(ConnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 UseSecurityClientStage(ConnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 UseSecurityClientStage(ConnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 ProvisioningMQTTConverterStage(ConnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 ProvisioningMQTTConverterStage(ConnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 EnsureConnectionStage(ConnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 EnsureConnectionStage(ConnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 SerializeConnectOpsStage(ConnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:548 SerializeConnectOpsStage(ConnectOperation): blocking
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 SerializeConnectOpsStage(ConnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 MQTTTransportStage(ConnectOperation): running
INFO azure.iot.device.common.pipeline.pipeline_stages_mqtt:pipeline_stages_mqtt.py:103 MQTTTransportStage(ConnectOperation): connecting
DEBUG azure.iot.device.common.pipeline.pipeline_thread:pipeline_thread.py:108 Starting _on_mqtt_connected in pipeline thread
INFO azure.iot.device.common.pipeline.pipeline_stages_mqtt:pipeline_stages_mqtt.py:189 _on_mqtt_connected called
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:403 PipelineRootStage: on_connected. on_connected_handler=<function ProvisioningPipeline.__init__.<locals>._on_connected at 0x000001CD10FB4B70>
DEBUG azure.iot.device.common.pipeline.pipeline_thread:pipeline_thread.py:108 Starting _on_connected in callback thread
DEBUG azure.iot.device.common.pipeline.pipeline_stages_mqtt:pipeline_stages_mqtt.py:197 completing connect op
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:245 MQTTTransportStage(ConnectOperation): completing without error
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:527 SerializeConnectOpsStage(ConnectOperation): op succeeded. Unblocking queue
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:557 SerializeConnectOpsStage(ConnectOperation): unblocking and releasing queued ops.
INFO azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:560 SerializeConnectOpsStage(ConnectOperation): processing 0 items in queue
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:533 SerializeConnectOpsStage(ConnectOperation): unblock is complete. completing op that caused unblock
DEBUG azure.iot.device.common.pipeline.pipeline_thread:pipeline_thread.py:108 Starting pipeline_callback in callback thread
-------------------------- Captured stderr teardown ---------------------------
INFO:azure.iot.device.provisioning.pipeline.provisioning_pipeline:disconnect called
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting run_op in pipeline thread
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage(DisconnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage(DisconnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(DisconnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:UseSecurityClientStage(DisconnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(DisconnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ProvisioningMQTTConverterStage(DisconnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:EnsureConnectionStage(DisconnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:EnsureConnectionStage(DisconnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(DisconnectOperation): running
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(DisconnectOperation): blocking
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:SerializeConnectOpsStage(DisconnectOperation): passing to next stage.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:MQTTTransportStage(DisconnectOperation): running
INFO:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage(DisconnectOperation): disconnecting
---------------------------- Captured log teardown ----------------------------
INFO azure.iot.device.provisioning.pipeline.provisioning_pipeline:provisioning_pipeline.py:110 disconnect called
DEBUG azure.iot.device.common.pipeline.pipeline_thread:pipeline_thread.py:108 Starting run_op in pipeline thread
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 PipelineRootStage(DisconnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 PipelineRootStage(DisconnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 UseSecurityClientStage(DisconnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 UseSecurityClientStage(DisconnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 ProvisioningMQTTConverterStage(DisconnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 ProvisioningMQTTConverterStage(DisconnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 EnsureConnectionStage(DisconnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 EnsureConnectionStage(DisconnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 SerializeConnectOpsStage(DisconnectOperation): running
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:548 SerializeConnectOpsStage(DisconnectOperation): blocking
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:231 SerializeConnectOpsStage(DisconnectOperation): passing to next stage.
DEBUG azure.iot.device.common.pipeline.pipeline_stages_base:pipeline_stages_base.py:100 MQTTTransportStage(DisconnectOperation): running
INFO azure.iot.device.common.pipeline.pipeline_stages_mqtt:pipeline_stages_mqtt.py:128 MQTTTransportStage(DisconnectOperation): disconnecting
============================== warnings summary ===============================
env\lib\site-packages\_pytest\mark\structures.py:325
e:\GitRepos\Python\custom_user_agent\azure-iot-device\env\lib\site-packages\_pytest\mark\structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.it - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,
env\lib\site-packages\_pytest\mark\structures.py:325
e:\GitRepos\Python\custom_user_agent\azure-iot-device\env\lib\site-packages\_pytest\mark\structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.describe - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,
-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file: C:\Users\yomaguir\AppData\Local\Temp\tmp-12232MHoUdH71nZ6Y.xml -
= 21 failed, 2729 passed, 25 skipped, 6 xfailed, 4 xpassed, 2 warnings in 37.11s =
Error: Error: cannot open file:///e%3A/GitRepos/Python/custom_user_agent/azure-iot-device/azure-iot-device/tests/common/pipeline/helpers.py. Detail: Unable to read file (Error: File not found (e:\GitRepos\Python\custom_user_agent\azure-iot-device\azure-iot-device\tests\common\pipeline\helpers.py))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment