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): ...@@ -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()
################################### ###################################
......
...@@ -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()
################################### ###################################
......
...@@ -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>
......
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