Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs-appstore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
officejs-appstore
Commits
aef537b1
Commit
aef537b1
authored
Jun 07, 2018
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[officejs_test] Increase zip size and remove tic to test activities.
/reviewed-on
!3
parent
aca3eed4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
...eItem/portal_components/test.erp5.testOfficeJSScenario.py
+7
-1
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.xml
...Item/portal_components/test.erp5.testOfficeJSScenario.xml
+4
-4
No files found.
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
View file @
aef537b1
...
...
@@ -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
()
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.xml
View file @
aef537b1
...
...
@@ -46,10 +46,10 @@
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:1
07
, 28: Unused variable \'api_path\' (unused-variable)
</string>
<string>
W:1
07
, 38: Unused variable \'api_query\' (unused-variable)
</string>
<string>
W:1
07
, 4: Unused variable \'api_scheme\' (unused-variable)
</string>
<string>
W:1
08
, 6: Unused variable \'api_fragment\' (unused-variable)
</string>
<string>
W:1
13
, 28: Unused variable \'api_path\' (unused-variable)
</string>
<string>
W:1
13
, 38: Unused variable \'api_query\' (unused-variable)
</string>
<string>
W:1
13
, 4: Unused variable \'api_scheme\' (unused-variable)
</string>
<string>
W:1
14
, 6: Unused variable \'api_fragment\' (unused-variable)
</string>
</tuple>
</value>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment