Set min version to test node retirement
Splitting functional tests for node retirement to a different class to set minimum supported version. Change-Id: Ib9b6dba8f5fbb870faecf03ae0e49cfe814d31e0
This commit is contained in:
parent
64c58edd8c
commit
9231c8723a
@ -269,6 +269,11 @@ class TestBareMetalNode(base.BaseBaremetalTest):
|
|||||||
self.assertTrue(node.is_maintenance)
|
self.assertTrue(node.is_maintenance)
|
||||||
self.assertEqual(reason, node.maintenance_reason)
|
self.assertEqual(reason, node.maintenance_reason)
|
||||||
|
|
||||||
|
|
||||||
|
class TestNodeRetired(base.BaseBaremetalTest):
|
||||||
|
|
||||||
|
min_microversion = '1.61'
|
||||||
|
|
||||||
def test_retired(self):
|
def test_retired(self):
|
||||||
reason = "I'm too old for this s...tuff!"
|
reason = "I'm too old for this s...tuff!"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user