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
alecs_myu
erp5
Commits
9e31191f
Commit
9e31191f
authored
Jan 25, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display printable representation of the object (
2bc75bf6
).
parent
2bc75bf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5Type/tests/ERP5TypeTestCase.py
product/ERP5Type/tests/ERP5TypeTestCase.py
+4
-4
No files found.
product/ERP5Type/tests/ERP5TypeTestCase.py
View file @
9e31191f
...
@@ -524,12 +524,12 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase):
...
@@ -524,12 +524,12 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase):
def
assertHasAttribute
(
self
,
obj
,
attribute
,
msg
=
None
):
def
assertHasAttribute
(
self
,
obj
,
attribute
,
msg
=
None
):
self
.
failIfEqual
(
None
,
getattr
(
obj
,
attribute
,
None
),
self
.
failIfEqual
(
None
,
getattr
(
obj
,
attribute
,
None
),
msg
or
'%s: no attribute %s'
%
(
obj
.
__name__
,
msg
or
"'%r': no attribute '%s'"
%
(
obj
,
attribute
))
attribute
))
def
failIfHasAttribute
(
self
,
obj
,
attribute
,
msg
=
None
):
def
failIfHasAttribute
(
self
,
obj
,
attribute
,
msg
=
None
):
self
.
assertEquals
(
None
,
getattr
(
obj
,
attribute
,
None
),
self
.
assertEquals
(
None
,
getattr
(
obj
,
attribute
,
None
),
msg
or
'%s: attribute %s present'
%
(
obj
.
__name__
,
msg
or
"'%r': attribute '%s' present"
%
(
obj
,
attribute
))
attribute
))
def
assertWorkflowTransitionFails
(
self
,
object
,
workflow_id
,
transition_id
,
def
assertWorkflowTransitionFails
(
self
,
object
,
workflow_id
,
transition_id
,
...
...
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