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
e4885887
Commit
e4885887
authored
Jun 04, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[officejs_test] Commit transaction after the first request
It seems ZODB is modified during the first access
parent
6066d920
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
...eItem/portal_components/test.erp5.testOfficeJSScenario.py
+3
-0
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioRjsUI.py
.../portal_components/test.erp5.testOfficeJSScenarioRjsUI.py
+3
-0
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioRjsUI.xml
...portal_components/test.erp5.testOfficeJSScenarioRjsUI.xml
+1
-5
No files found.
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
View file @
e4885887
...
@@ -85,6 +85,7 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
...
@@ -85,6 +85,7 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
title
,
title
,
description
=
description
description
=
description
)
)
self
.
tic
()
###################################
###################################
### Alarm: extract zip file
### Alarm: extract zip file
...
@@ -153,6 +154,8 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
...
@@ -153,6 +154,8 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
response
.
getheader
(
'Vary'
).
replace
(
' '
,
''
),
response
.
getheader
(
'Vary'
).
replace
(
' '
,
''
),
'Cookie,Authorization,Accept-Encoding'
'Cookie,Authorization,Accept-Encoding'
)
)
# First access to Base_getWebDocumentDrivenModificationDate writes in ZODB
self
.
tic
()
###################################
###################################
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioRjsUI.py
View file @
e4885887
...
@@ -83,6 +83,7 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
...
@@ -83,6 +83,7 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
import_file
,
import_file
,
title
title
)
)
self
.
tic
()
###################################
###################################
### Alarm: extract zip file
### Alarm: extract zip file
...
@@ -147,6 +148,8 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
...
@@ -147,6 +148,8 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
response
.
getheader
(
'Vary'
).
replace
(
' '
,
''
),
response
.
getheader
(
'Vary'
).
replace
(
' '
,
''
),
'Cookie,Authorization,Accept-Encoding'
'Cookie,Authorization,Accept-Encoding'
)
)
# First access to Base_getWebDocumentDrivenModificationDate writes in ZODB
self
.
tic
()
###################################
###################################
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenarioRjsUI.xml
View file @
e4885887
...
@@ -45,11 +45,7 @@
...
@@ -45,11 +45,7 @@
<item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<value>
<tuple>
<tuple/>
<string>
W:106, 28: Unused variable \'api_path\' (unused-variable)
</string>
<string>
W:106, 38: Unused variable \'api_query\' (unused-variable)
</string>
<string>
W:107, 6: Unused variable \'api_fragment\' (unused-variable)
</string>
</tuple>
</value>
</value>
</item>
</item>
<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