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
Titouan Soulard
erp5
Commits
65a1e66d
Commit
65a1e66d
authored
Aug 30, 2024
by
Jérome Perrin
Committed by
Arnaud Fontaine
Aug 30, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Fix Live Tests failures when ran several times.
parent
05971e68
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testIdToolUpgrade.py
...lateItem/portal_components/test.erp5.testIdToolUpgrade.py
+2
-0
bt5/erp5_dms/TestTemplateItem/portal_components/test.erp5.testERP5WebWithDms.py
...ateItem/portal_components/test.erp5.testERP5WebWithDms.py
+4
-0
bt5/erp5_km/TestTemplateItem/portal_components/test.erp5.testKM.py
...km/TestTemplateItem/portal_components/test.erp5.testKM.py
+4
-2
product/ERP5OOo/tests/testOOoImport.py
product/ERP5OOo/tests/testOOoImport.py
+1
-0
No files found.
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testIdToolUpgrade.py
View file @
65a1e66d
...
...
@@ -58,7 +58,9 @@ class TestIdToolUpgrade(ERP5TypeTestCase):
self
.
tic
()
def
beforeTearDown
(
self
):
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
id_tool
.
clearGenerator
(
all
=
True
)
self
.
tic
()
def
createGenerators
(
self
):
"""
...
...
bt5/erp5_dms/TestTemplateItem/portal_components/test.erp5.testERP5WebWithDms.py
View file @
65a1e66d
...
...
@@ -1683,6 +1683,10 @@ return True
document_object
.
getId
())
response_a
=
self
.
publish
(
path
)
action
.
setVisible
(
0
)
def
cleanup
():
action
.
setVisible
(
1
)
self
.
tic
()
self
.
addCleanup
(
cleanup
)
self
.
tic
()
response_b
=
self
.
publish
(
path
)
self
.
assertNotEqual
(
response_a
.
getBody
(),
response_b
.
getBody
())
...
...
bt5/erp5_km/TestTemplateItem/portal_components/test.erp5.testKM.py
View file @
65a1e66d
...
...
@@ -584,8 +584,10 @@ class TestKM(TestKMMixIn):
gadget_view_form_id
=
km_latest_documents_gadget
.
view_form_id
publication_section_category_id_list
=
[
'documentation'
,
'administration'
]
for
category_id
in
publication_section_category_id_list
:
portal
.
portal_categories
.
publication_section
.
newContent
(
portal_type
=
'Category'
,
id
=
category_id
)
if
category_id
not
in
portal
.
portal_categories
.
publication_section
.
objectIds
():
portal
.
portal_categories
.
publication_section
.
newContent
(
portal_type
=
'Category'
,
id
=
category_id
)
latest_docs_subsection
=
self
.
websection
.
newContent
(
portal_type
=
'Web Section'
)
latest_docs_subsection
.
edit
(
membership_criterion_base_category
=
[
'publication_section'
],
membership_criterion_category
=
[
'publication_section/%s'
...
...
product/ERP5OOo/tests/testOOoImport.py
View file @
65a1e66d
...
...
@@ -86,6 +86,7 @@ class TestOOoImportMixin(ERP5TypeTestCase):
self
.
portal
.
portal_categories
.
gender
,
self
.
portal
.
portal_categories
.
region
,
]:
parent
.
setLastId
(
'0'
)
parent
.
deleteContent
(
list
(
parent
.
objectIds
()))
self
.
tic
()
...
...
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