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
7fcb7c4c
Commit
7fcb7c4c
authored
Jun 29, 2021
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
officejs_test: extend appstore json test (and fix test name)
parent
9e0e1162
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioAppstore.py
...rtal_components/test.erp5.testOfficeJSScenarioAppstore.py
+4
-0
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioAppstore.xml
...tal_components/test.erp5.testOfficeJSScenarioAppstore.xml
+2
-2
bt5/officejs_test/bt/template_test_id_list
bt5/officejs_test/bt/template_test_id_list
+1
-1
No files found.
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioAppsore.py
→
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioApps
t
ore.py
View file @
7fcb7c4c
...
@@ -115,6 +115,10 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
...
@@ -115,6 +115,10 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
self
.
assertTrue
(
'logo.png'
in
app
[
'application_image_url'
])
self
.
assertTrue
(
'logo.png'
in
app
[
'application_image_url'
])
self
.
assertEquals
(
app
[
'application_description'
],
'application test'
)
self
.
assertEquals
(
app
[
'application_description'
],
'application test'
)
self
.
assertEquals
(
app
[
'application_image_type'
],
'image'
)
self
.
assertEquals
(
app
[
'application_image_type'
],
'image'
)
date
=
app
[
'application_submitted'
].
encode
(
'ascii'
)
self
.
assertEquals
(
date
,
time
.
strftime
(
'%m/%d/%Y'
))
date
=
app
[
'application_published'
].
encode
(
'ascii'
)
self
.
assertEquals
(
date
,
time
.
strftime
(
'%m/%d/%Y'
))
def
test_appstore_add_an_application
(
self
):
def
test_appstore_add_an_application
(
self
):
title
=
'My Application %s'
%
time
.
time
()
title
=
'My Application %s'
%
time
.
time
()
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioAppsore.xml
→
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioApps
t
ore.xml
View file @
7fcb7c4c
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testOfficeJSScenarioAppsore
</string>
</value>
<value>
<string>
testOfficeJSScenarioApps
t
ore
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testOfficeJSScenarioAppsore
</string>
</value>
<value>
<string>
test.erp5.testOfficeJSScenarioApps
t
ore
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
...
...
bt5/officejs_test/bt/template_test_id_list
View file @
7fcb7c4c
...
@@ -2,6 +2,6 @@ test.erp5.testOfficeJSSecurity
...
@@ -2,6 +2,6 @@ test.erp5.testOfficeJSSecurity
test.erp5.testOfficeJSScenario
test.erp5.testOfficeJSScenario
test.erp5.testOfficeJSScenarioRjsUI
test.erp5.testOfficeJSScenarioRjsUI
test.erp5.testFunctionalOfficeJSAppstoreUI
test.erp5.testFunctionalOfficeJSAppstoreUI
test.erp5.testOfficeJSScenarioAppsore
test.erp5.testOfficeJSScenarioApps
t
ore
test.erp5.testOfficeJSAppstoreMixin
test.erp5.testOfficeJSAppstoreMixin
test.erp5.testOfficeJSAppstoreConfigurator
test.erp5.testOfficeJSAppstoreConfigurator
\ No newline at end of file
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