forked from p15670423/monkey
Tests: Change test order/names in powershell_utils/test_utils.py
This commit is contained in:
parent
8aedc2c391
commit
c875aa349f
|
@ -18,14 +18,6 @@ def test_get_credentials__empty_windows_false():
|
|||
assert len(credentials) == 0
|
||||
|
||||
|
||||
def test_get_credentials__username_only_windows_false():
|
||||
credentials = utils.get_credentials(TEST_USERS, [], False)
|
||||
|
||||
assert len(credentials) == 2
|
||||
assert (TEST_USERS[0], "") in credentials
|
||||
assert (TEST_USERS[1], "") in credentials
|
||||
|
||||
|
||||
def test_get_credentials__username_only_windows_true():
|
||||
credentials = utils.get_credentials(TEST_USERS, [], True)
|
||||
|
||||
|
@ -36,7 +28,15 @@ def test_get_credentials__username_only_windows_true():
|
|||
assert (TEST_USERS[1], None) in credentials
|
||||
|
||||
|
||||
def test_get_credentials__username_password():
|
||||
def test_get_credentials__username_only_windows_false():
|
||||
credentials = utils.get_credentials(TEST_USERS, [], False)
|
||||
|
||||
assert len(credentials) == 2
|
||||
assert (TEST_USERS[0], "") in credentials
|
||||
assert (TEST_USERS[1], "") in credentials
|
||||
|
||||
|
||||
def test_get_credentials__username_password_windows_true():
|
||||
credentials = utils.get_credentials(TEST_USERS, TEST_PASSWORDS, True)
|
||||
|
||||
assert len(credentials) == 9
|
||||
|
|
Loading…
Reference in New Issue