Updated init_state to include hashed username and password

This commit is contained in:
Anton Beloglazov 2012-10-02 15:16:01 +10:00
parent 79522b0e2b
commit 16017f1154

View File

@ -152,8 +152,8 @@ class GlobalManager(TestCase):
assert state['previous_time'] == 0
assert state['db'] == db
assert state['nova'] == nova
assert state['username'] == sha1('user').hexdigest(),
assert state['password'] == sha1('password').hexdigest(),
assert state['hashed_username'] == sha1('user').hexdigest()
assert state['hashed_password'] == sha1('password').hexdigest()
assert state['compute_hosts'] == hosts
def test_parse_compute_hosts(self):