Commit 247cf483 authored by Łukasz Nowak's avatar Łukasz Nowak

Tic before checking.

requestInstance depends on catalog.
parent d277fe60
......@@ -73,6 +73,7 @@ class TestSlapOSCoreSlapOSAssertHostingSubscriptionPredecessorAlarm(
def test_HostingSubscription_assertPredecessor(self):
self.software_instance.edit(title=self.generateNewSoftwareTitle())
self.tic()
# check that no interaction has recreated the instance
self.assertFalse(self.hosting_subscription.getTitle() in
......@@ -82,8 +83,6 @@ class TestSlapOSCoreSlapOSAssertHostingSubscriptionPredecessorAlarm(
self.assertTrue(self.hosting_subscription.getTitle() in
self.hosting_subscription.getPredecessorTitleList())
transaction.abort()
def _simulateHostingSubscription_assertPredecessor(self):
script_name = 'HostingSubscription_assertPredecessor'
if script_name in self.portal.portal_skins.custom.objectIds():
......
198
\ No newline at end of file
199
\ No newline at end of file
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