Updated init_state to include hashed username and password
This commit is contained in:
parent
79522b0e2b
commit
16017f1154
@ -152,8 +152,8 @@ class GlobalManager(TestCase):
|
|||||||
assert state['previous_time'] == 0
|
assert state['previous_time'] == 0
|
||||||
assert state['db'] == db
|
assert state['db'] == db
|
||||||
assert state['nova'] == nova
|
assert state['nova'] == nova
|
||||||
assert state['username'] == sha1('user').hexdigest(),
|
assert state['hashed_username'] == sha1('user').hexdigest()
|
||||||
assert state['password'] == sha1('password').hexdigest(),
|
assert state['hashed_password'] == sha1('password').hexdigest()
|
||||||
assert state['compute_hosts'] == hosts
|
assert state['compute_hosts'] == hosts
|
||||||
|
|
||||||
def test_parse_compute_hosts(self):
|
def test_parse_compute_hosts(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user