Commit e4885887 authored by Romain Courteaud's avatar Romain Courteaud

[officejs_test] Commit transaction after the first request

It seems ZODB is modified during the first access
parent 6066d920
......@@ -85,6 +85,7 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
title,
description=description
)
self.tic()
###################################
### Alarm: extract zip file
......@@ -153,6 +154,8 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
response.getheader('Vary').replace(' ', ''),
'Cookie,Authorization,Accept-Encoding'
)
# First access to Base_getWebDocumentDrivenModificationDate writes in ZODB
self.tic()
###################################
......
......@@ -83,6 +83,7 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
import_file,
title
)
self.tic()
###################################
### Alarm: extract zip file
......@@ -147,6 +148,8 @@ class TestOfficeJSScenario(testOfficeJSAppstoreMixin):
response.getheader('Vary').replace(' ', ''),
'Cookie,Authorization,Accept-Encoding'
)
# First access to Base_getWebDocumentDrivenModificationDate writes in ZODB
self.tic()
###################################
......
......@@ -45,11 +45,7 @@
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<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>
<tuple/>
</value>
</item>
<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