Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azext_iot/tests/central/test_iot_central_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

import mock
import pytest
import json
import responses
import ast
from unittest import mock
from datetime import datetime
from knack.util import CLIError
from azure.cli.core.mock import DummyCli
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# --------------------------------------------------------------------------------------------

import unittest
import mock
from unittest import mock
from knack.util import CLIError
from azext_iot.product.test.command_test_cases import update

Expand Down
2 changes: 1 addition & 1 deletion azext_iot/tests/product/test_command_test_create_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# --------------------------------------------------------------------------------------------

import unittest
import mock
from unittest import mock
from knack.util import CLIError
from azext_iot.product.test.command_tests import create, _process_models_directory as process_models
from azext_iot.product.shared import BadgeType, AttestationType, DeviceType, ValidationType
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/tests/product/test_command_test_run_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

import unittest
import pytest
import mock
import json
import responses
from unittest import mock
from datetime import datetime
from knack.util import CLIError
from azext_iot.product.test.command_test_runs import show, submit
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/tests/product/test_command_test_search_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# --------------------------------------------------------------------------------------------

import unittest
import mock
from unittest import mock
from knack.util import CLIError
from azext_iot.product.test.command_tests import search
from azext_iot.sdk.product.models import DeviceTestSearchOptions
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/tests/product/test_command_test_update_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# --------------------------------------------------------------------------------------------

import unittest
import mock
from unittest import mock
from knack.util import CLIError
from azext_iot.product.test.command_tests import update
from azext_iot.product.shared import BadgeType, AttestationType
Expand Down
3 changes: 2 additions & 1 deletion azext_iot/tests/product/test_device_test_tasks_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

import unittest
import pytest
import mock
import json
import responses

from unittest import mock
from knack.util import CLIError
from azext_iot.sdk.product.models import DeviceTestTask, TestRun
from azext_iot.product.test.command_test_tasks import create, delete, show
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/tests/utility/test_iot_utility_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# --------------------------------------------------------------------------------------------

import json
import mock
import pytest
import os

from unittest import mock
from knack.util import CLIError
from azure.cli.core.extension import get_extension_path
from azext_iot.common.utility import (
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/tests/utility/test_monitor_parsers_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# --------------------------------------------------------------------------------------------

import json
import mock
import pytest

from unittest import mock
from uamqp.message import Message, MessageProperties
from azext_iot.central.providers.v1 import (
CentralDeviceProviderV1,
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/tests/utility/test_uamqp_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

import mock
from unittest import mock


class TestUamqpImport(object):
Expand Down