Skip to content

Commit 00285d7

Browse files
authored
NAS-135878 / 25.10 / Fix test_virt_utils (#16499)
Change import of 'Status' to 'VirtGlobalStatus'. This was blocking the Goldeye unit test runs. Do not backport. This commit is the source: #16467
1 parent c141a08 commit 00285d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_virt_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ def default_storage_pool():
1818

1919

2020
def test__init_storage_value():
21-
assert storage.state is utils.Status.INITIALIZING
21+
assert storage.state is utils.VirtGlobalStatus.INITIALIZING
2222
assert storage.default_storage_pool is None
2323

2424

25-
@pytest.mark.parametrize('status', utils.Status)
25+
@pytest.mark.parametrize('status', utils.VirtGlobalStatus)
2626
def test__setting_storage_state(status):
2727
storage.state = status
2828
assert storage.state is status

0 commit comments

Comments
 (0)