Fixed a test

This commit is contained in:
Anton Beloglazov 2012-10-19 17:55:21 +11:00
parent ce3252ec29
commit 98a6c6db04

View File

@ -240,7 +240,7 @@ class Db(TestCase):
db.insert_host_states({host: state})
if data and data[-1] == 1 or not data:
res.append(host)
assert db.select_active_hosts() == res
assert set(db.select_active_hosts()) == set(res)
@qc(10)
def select_inactive_hosts(