Skip to content

Commit

Permalink
update test file
Browse files Browse the repository at this point in the history
  • Loading branch information
KsenijaS committed Apr 25, 2024
1 parent d49ad3f commit a6738a3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/unittests/sources/test_azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,6 @@ def mock_timestamp():
yield timestamp


@pytest.fixture
def mock_uuid():
uuid4 = uuid.uuid4()
with mock.patch.object(imds, "uuid", autospec=True) as m:
m.uuid4.return_value = uuid4
yield uuid4


@pytest.fixture
def mock_util_ensure_dir():
with mock.patch(
Expand Down Expand Up @@ -3679,7 +3671,6 @@ def provisioning_setup(
mock_report_dmesg_to_kvp,
mock_subp_subp,
mock_timestamp,
mock_uuid,
mock_util_ensure_dir,
mock_util_find_devs_with,
mock_util_load_file,
Expand Down Expand Up @@ -3710,7 +3701,6 @@ def provisioning_setup(
self.mock_report_dmesg_to_kvp = mock_report_dmesg_to_kvp
self.mock_subp_subp = mock_subp_subp
self.mock_timestmp = mock_timestamp
self.mock_uuid = mock_uuid
self.mock_util_ensure_dir = mock_util_ensure_dir
self.mock_util_find_devs_with = mock_util_find_devs_with
self.mock_util_load_file = mock_util_load_file
Expand Down

0 comments on commit a6738a3

Please sign in to comment.