From 50cb5b664219d2a685f6de2838ab5a391b456153 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 15 May 2012 16:47:18 +0200 Subject: [PATCH] Put the step in the mixin --- master/product/Vifib/tests/testVifibSlapBug.py | 3 --- master/product/Vifib/tests/testVifibSlapWebService.py | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/master/product/Vifib/tests/testVifibSlapBug.py b/master/product/Vifib/tests/testVifibSlapBug.py index ac2d9ed46..dba5f5306 100644 --- a/master/product/Vifib/tests/testVifibSlapBug.py +++ b/master/product/Vifib/tests/testVifibSlapBug.py @@ -1372,9 +1372,6 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin): sequence_list.addSequenceString(sequence_string) sequence_list.play(self) - def stepSetSoftwareTitleRandom(self, sequence, **kw): - sequence['software_title'] = str(random.random()) - def test_request_new_with_destroyed_reference_web_ui(self): """Prove that having destroyed SI allows to request new one with same reference diff --git a/master/product/Vifib/tests/testVifibSlapWebService.py b/master/product/Vifib/tests/testVifibSlapWebService.py index a3883562f..485722821 100644 --- a/master/product/Vifib/tests/testVifibSlapWebService.py +++ b/master/product/Vifib/tests/testVifibSlapWebService.py @@ -449,6 +449,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): REMOTE_USER = "test_vifib_customer_a" self.login("test_vifib_customer_a") + def stepSetSoftwareTitleRandom(self, sequence, **kw): + sequence['software_title'] = str(random()) + def stepCheckComputerPartitionInstanceCleanupSalePackingListDoesNotExists(self, sequence, **kw): self._checkComputerPartitionSalePackingListDoesNotExists( -- 2.30.9