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
1
Merge Requests
1
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
Boxiang Sun
erp5
Commits
5b036203
Commit
5b036203
authored
May 02, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix random failures of testERP5Administration
parent
99c8071f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
product/ERP5/tests/testERP5Administration.py
product/ERP5/tests/testERP5Administration.py
+4
-2
No files found.
product/ERP5/tests/testERP5Administration.py
View file @
5b036203
...
@@ -84,10 +84,12 @@ class TestERP5Administration(InventoryAPITestCase):
...
@@ -84,10 +84,12 @@ class TestERP5Administration(InventoryAPITestCase):
person
=
self
.
portal
.
person_module
.
newContent
(
portal_type
=
'Person'
)
person
=
self
.
portal
.
person_module
.
newContent
(
portal_type
=
'Person'
)
# this document will be non consistent, for PropertyTypeValidity
# this document will be non consistent, for PropertyTypeValidity
person
.
title
=
3
person
.
title
=
3
# tic right now to make sure the person is indexed, indeed the alarm
# could use catalog to retrieve objects to check
self
.
stepTic
()
alarm
.
activeSense
()
alarm
.
activeSense
()
transaction
.
commit
()
self
.
stepTic
()
self
.
tic
()
# some errors were detected
# some errors were detected
self
.
assertTrue
(
alarm
.
sense
())
self
.
assertTrue
(
alarm
.
sense
())
...
...
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