Commit 6edddd59 by Guba Sándor

storage: updated tests

parent 19ca28b9
......@@ -29,7 +29,7 @@ class DiskTestCase(TestCase):
def test_deletable_newly_destroyed(self):
d = self._disk(destroyed=new)
assert not d.is_deletable
assert d.is_deletable
def test_deletable_no_child(self):
d = self._disk(destroyed=old)
......@@ -46,3 +46,7 @@ class DiskTestCase(TestCase):
self._disk(base=d, destroyed=new)
assert not d.is_deletable
def test_undeployed_disk_ready(self):
d = self._disk()
assert not d.ready
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment