Commit 48a42897 by Dudás Ádám

vm: remove test for 'redeploy' operation

parent 66205e8e
...@@ -4,9 +4,8 @@ from common.operations import operation_registry_name as op_reg_name ...@@ -4,9 +4,8 @@ from common.operations import operation_registry_name as op_reg_name
from vm.models import Instance, Node from vm.models import Instance, Node
from vm.operations import ( from vm.operations import (
DeployOperation, DestroyOperation, FlushOperation, MigrateOperation, DeployOperation, DestroyOperation, FlushOperation, MigrateOperation,
RebootOperation, RedeployOperation, ResetOperation, RebootOperation, ResetOperation, SaveAsTemplateOperation,
SaveAsTemplateOperation, ShutdownOperation, ShutOffOperation, ShutdownOperation, ShutOffOperation, SleepOperation, WakeUpOperation,
SleepOperation, WakeUpOperation,
) )
...@@ -35,11 +34,6 @@ class RebootOperationTestCase(TestCase): ...@@ -35,11 +34,6 @@ class RebootOperationTestCase(TestCase):
assert RebootOperation.id in getattr(Instance, op_reg_name) assert RebootOperation.id in getattr(Instance, op_reg_name)
class RedeployOperationTestCase(TestCase):
def test_operation_registered(self):
assert RedeployOperation.id in getattr(Instance, op_reg_name)
class ResetOperationTestCase(TestCase): class ResetOperationTestCase(TestCase):
def test_operation_registered(self): def test_operation_registered(self):
assert ResetOperation.id in getattr(Instance, op_reg_name) assert ResetOperation.id in getattr(Instance, op_reg_name)
......
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