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
c951cc95
Commit
c951cc95
authored
Jan 31, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[officejs_test] Update test
parent
1b522293
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
...eItem/portal_components/test.erp5.testOfficeJSScenario.py
+14
-6
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.xml
...Item/portal_components/test.erp5.testOfficeJSScenario.xml
+1
-6
No files found.
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
View file @
c951cc95
...
...
@@ -77,12 +77,12 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
my_zip
.
writestr
(
'gadget_n_'
+
str
(
i
)
+
'.html'
,
'My super gadget '
+
str
(
i
))
my_zip
.
close
()
version
=
'My Bar version %s'
%
timestamp
self
.
portal
.
ERP5Site_createNewSoftwarePublication
(
description
=
'My Bar description %s'
%
timestamp
title
=
'My Foo App %s'
%
timestamp
self
.
portal
.
SoftwareProductModule_createNewApplication
(
import_file
,
'software/application'
,
'My Foo App'
,
version
title
,
description
=
description
)
###################################
...
...
@@ -97,9 +97,17 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
self
.
portal
.
portal_alarms
.
officejs_process_submit_software_publication
\
.
activeSense
()
self
.
tic
()
software_product
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
'Software Product'
,
title
=
title
)
software_release
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
'Software Release'
,
follow_up_relative_url
=
software_product
.
getRelativeUrl
()
)
web_section
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
'Static Web Section'
,
title
=
version
id
=
software_release
.
getReference
()
)
###################################
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.xml
View file @
c951cc95
...
...
@@ -45,12 +45,7 @@
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:108, 28: Unused variable \'api_path\' (unused-variable)
</string>
<string>
W:108, 38: Unused variable \'api_query\' (unused-variable)
</string>
<string>
W:108, 4: Unused variable \'api_scheme\' (unused-variable)
</string>
<string>
W:109, 6: Unused variable \'api_fragment\' (unused-variable)
</string>
</tuple>
<tuple/>
</value>
</item>
<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