Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yoji Takeuchi
erp5
Commits
b8667275
Commit
b8667275
authored
Apr 16, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if hot reindexing test fails, make sure other tests are not affected
parent
6d1ff1fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
product/ERP5Catalog/tests/testERP5Catalog.py
product/ERP5Catalog/tests/testERP5Catalog.py
+1
-0
No files found.
product/ERP5Catalog/tests/testERP5Catalog.py
View file @
b8667275
...
@@ -121,6 +121,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
...
@@ -121,6 +121,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
def
beforeTearDown
(
self
):
def
beforeTearDown
(
self
):
# restore default_catalog
# restore default_catalog
self
.
portal
.
portal_catalog
.
default_sql_catalog_id
=
'erp5_mysql_innodb'
self
.
portal
.
portal_catalog
.
default_sql_catalog_id
=
'erp5_mysql_innodb'
self
.
portal
.
portal_catalog
.
hot_reindexing_state
=
None
# clear Modules
# clear Modules
for
module
in
[
self
.
getPersonModule
(),
for
module
in
[
self
.
getPersonModule
(),
self
.
getOrganisationModule
(),
self
.
getOrganisationModule
(),
...
...
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