Whitebox server expects deleted > 0
Whitebox servers tests expected deleted == 1.
Behaviour changed no nova side, now DB field
instances.deleted is set to the instance DB ID,
which is an interger > 0.
Fixes: lp/1208267
Change-Id: I659ab17507401f758e6ca2460b0992f3d55dda8b
diff --git a/tempest/whitebox/test_servers_whitebox.py b/tempest/whitebox/test_servers_whitebox.py
index 2694b95..8bdf01e 100644
--- a/tempest/whitebox/test_servers_whitebox.py
+++ b/tempest/whitebox/test_servers_whitebox.py
@@ -80,7 +80,7 @@
stmt = instances.select().where(instances.c.uuid == server['id'])
result = self.connection.execute(stmt).first()
- self.assertEqual(1, result.deleted)
+ self.assertEqual(True, result.deleted > 0)
self.assertEqual('deleted', result.vm_state)
self.assertEqual(None, result.task_state)
except Exception: