Commit 6ea32940 authored by Xavier Thompson's avatar Xavier Thompson

slapos_slap_tool: fixup tests

parent e0b29d68
...@@ -1006,7 +1006,7 @@ class TestSlapOSCoreComputeNodeUpdateFromDict(SlapOSTestCaseMixinWithAbort): ...@@ -1006,7 +1006,7 @@ class TestSlapOSCoreComputeNodeUpdateFromDict(SlapOSTestCaseMixinWithAbort):
self.assertEqual(partition.getReference(), 'foo') self.assertEqual(partition.getReference(), 'foo')
self.assertEqual(partition.getValidationState(), 'validated') self.assertEqual(partition.getValidationState(), 'validated')
self.assertEqual(partition.getSlapState(), 'free') self.assertEqual(partition.getSlapState(), 'free')
self.assertEqual(partition.getSubject(), capability) self.assertEqual(partition.getSubjectList(), [capability])
def test_UpdatePartitionCapability(self): def test_UpdatePartitionCapability(self):
partition_dict = { partition_dict = {
......
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 to comment