Commit aef537b1 authored by Vincent Bechu's avatar Vincent Bechu

[officejs_test] Increase zip size and remove tic to test activities.

/reviewed-on !3
parent aca3eed4
......@@ -78,6 +78,8 @@ class TestOfficeJSScenario(SecurityTestCase):
my_zip = zipfile.ZipFile(import_file, 'w')
my_zip.writestr('index.html', 'My super content')
for i in range(50):
my_zip.writestr('gadget_n_' + str(i) + '.html', 'My super gadget ' + str(i))
my_zip.close()
version = 'My Bar version %s' % timestamp
......@@ -87,12 +89,16 @@ class TestOfficeJSScenario(SecurityTestCase):
'My Foo App',
version
)
self.tic()
###################################
### Alarm: extract zip file
self.logout()
self.login()
self.portal.portal_alarms.officejs_process_submit_software_publication\
.activeSense()
self.portal.portal_alarms.officejs_process_submit_software_publication\
.activeSense()
self.tic()
self.portal.portal_alarms.officejs_process_submit_software_publication\
.activeSense()
self.tic()
......
......@@ -46,10 +46,10 @@
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W:107, 28: Unused variable \'api_path\' (unused-variable)</string>
<string>W:107, 38: Unused variable \'api_query\' (unused-variable)</string>
<string>W:107, 4: Unused variable \'api_scheme\' (unused-variable)</string>
<string>W:108, 6: Unused variable \'api_fragment\' (unused-variable)</string>
<string>W:113, 28: Unused variable \'api_path\' (unused-variable)</string>
<string>W:113, 38: Unused variable \'api_query\' (unused-variable)</string>
<string>W:113, 4: Unused variable \'api_scheme\' (unused-variable)</string>
<string>W:114, 6: Unused variable \'api_fragment\' (unused-variable)</string>
</tuple>
</value>
</item>
......
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