Commit eb73d8d8 authored by Romain Courteaud's avatar Romain Courteaud

Dead code.

parent dd275237
......@@ -110,15 +110,6 @@ class TestVifibFiberSubscription(testVifibSecurityMixin):
fiber_request = pending_request_list[0]
sequence.edit(fiber_request_url=fiber_request.getRelativeUrl())
def stepStartFiberRequest(self,sequence=None,sequence_list=None, **kw):
"""Start the fiber request present in sequence"""
fiber_request_url = sequence.get("fiber_request_url")
fiber_request = self.getPortal().restrictedTraverse(fiber_request_url)
self.modifyFiberRequestState("start_action",sequence,fiber_request)
self.assertEquals(fiber_request.getValidationState(), 'started')
def stepConfirmFiberRequest(self,sequence=None,sequence_list=None, **kw):
"""Confirm the fiber request present in sequence"""
fiber_request_url = sequence.get("fiber_request_url")
......
......@@ -135,9 +135,6 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
def stepRestoreSoftwareInstanceUidFromBufferA(self, sequence, **kw):
sequence['software_instance_uid'] = sequence['buffer_a_software_instance_uid']
def stepRestoreSoftwareInstanceUidFromBufferB(self, sequence, **kw):
sequence['software_instance_uid'] = sequence['buffer_b_software_instance_uid']
def stepRestoreComputerUidFromBufferA(self, sequence, **kw):
sequence['computer_uid'] = sequence['buffer_a_computer_uid']
......@@ -171,15 +168,9 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
def stepRestoreComputerPartitionUidFromBufferA(self, sequence, **kw):
sequence['computer_partition_uid'] = sequence['buffer_a_computer_partition_uid']
def stepRestoreComputerPartitionUidFromBufferB(self, sequence, **kw):
sequence['computer_partition_uid'] = sequence['buffer_b_computer_partition_uid']
def stepRestoreComputerPartitionReferenceFromBufferA(self, sequence, **kw):
sequence['computer_partition_reference'] = sequence['buffer_a_computer_partition_reference']
def stepRestoreComputerPartitionReferenceFromBufferB(self, sequence, **kw):
sequence['computer_partition_reference'] = sequence['buffer_b_computer_partition_reference']
def stepCheckHostingSubscriptionMultipleComputerAuditor(self, sequence, **kw):
hosting_subscription = self.portal.portal_catalog.getResultValue(
uid=sequence['hosting_subscription_uid'])
......
......@@ -172,19 +172,6 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def stepDeliverInstanceSetupSalePackingList(self, sequence, **kw):
delivery = self.portal.portal_catalog.getResultValue(
default_aggregate_uid=ComplexQuery(
Query(default_aggregate_uid=sequence['computer_partition_uid']),
Query(default_aggregate_uid=sequence['software_instance_uid']),
operator="AND"),
portal_type=self.sale_packing_list_line_portal_type,
simulation_state='stopped',
resource_relative_url=self.portal.portal_preferences\
.getPreferredInstanceSetupResource()
).getParentValue()
self.portal.portal_workflow.doActionFor(delivery, 'deliver_action')
def test_Computer_getComputerPartitionList_HostingResource_ConfirmedState(self):
"""
Check that calling Computer.getComputerPartitionList works in
......
......@@ -478,30 +478,6 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
def stepStoreCurrentSoftwareInstanceBufferA(self, sequence, **kw):
sequence.edit(
software_instance_uid_buffer_a=sequence['software_instance_uid'],
software_instance_reference_buffer_a=sequence[
'software_instance_reference'])
def stepStoreCurrentSoftwareInstanceBufferB(self, sequence, **kw):
sequence.edit(
software_instance_uid_buffer_b=sequence['software_instance_uid'],
software_instance_reference_buffer_b=sequence[
'software_instance_reference'])
def stepRestoreCurrentSoftwareInstanceBufferA(self, sequence, **kw):
sequence.edit(
software_instance_uid=sequence['software_instance_uid_buffer_a'],
software_instance_reference=sequence[
'software_instance_reference_buffer_a'])
def stepRestoreCurrentSoftwareInstanceBufferB(self, sequence, **kw):
sequence.edit(
software_instance_uid=sequence['software_instance_uid_buffer_b'],
software_instance_reference=sequence[
'software_instance_reference_buffer_b'])
def test_SlaveInstance_request_stop(self):
"""
Check that the Slave Instance will be stopped correctly
......
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