Commit f43f788d authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Alain Takoudjou

slapos_subscription_request: remove useless imports

parent a50f389b
......@@ -7,11 +7,6 @@
from erp5.component.test.SlapOSTestCaseDefaultScenarioMixin import DefaultScenarioMixin
from erp5.component.test.SlapOSTestCaseMixin import changeSkin
import re
import json
import xml_marshaller
from AccessControl.SecurityManagement import getSecurityManager, \
from DateTime import DateTime
class TestSlapOSTrialScenario(DefaultScenarioMixin):
......@@ -212,6 +207,8 @@ class TestSlapOSTrialScenario(DefaultScenarioMixin):
'authAmount': 2500*quantity,
'authDevise': '978',
# Payzen_processUpdate will mark payment as payed by stopping it.
payment.PaymentTransaction_createPayzenEvent().PayzenEvent_processUpdate(data_kw, True)
self.assertEqual(payment.getSimulationState(), "stopped")
......@@ -45,13 +45,7 @@
<key> <string>text_content_warning_message</string> </key>
<string>W: 10, 0: Unused import re (unused-import)</string>
<string>W: 11, 0: Unused import json (unused-import)</string>
<string>W: 12, 0: Unused import xml_marshaller (unused-import)</string>
<string>W: 13, 0: Unused setSecurityManager imported from AccessControl.SecurityManagement (unused-import)</string>
<string>W: 13, 0: Unused getSecurityManager imported from AccessControl.SecurityManagement (unused-import)</string>
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