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
Richard
erp5
Commits
9a0f36ba
Commit
9a0f36ba
authored
Jan 25, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assertHasAttribute and failIfHasAttribute have been added in ERP5TypeTestCase.
parent
b52d35c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
product/ERP5Type/tests/testDynamicClassGeneration.py
product/ERP5Type/tests/testDynamicClassGeneration.py
+0
-16
No files found.
product/ERP5Type/tests/testDynamicClassGeneration.py
View file @
9a0f36ba
...
@@ -1225,22 +1225,6 @@ class TestZodbExtensionComponent(_TestZodbComponent):
...
@@ -1225,22 +1225,6 @@ class TestZodbExtensionComponent(_TestZodbComponent):
self
.
_component_tool
=
self
.
_portal
.
portal_components
self
.
_component_tool
=
self
.
_portal
.
portal_components
self
.
_component_tool
.
reset
()
self
.
_component_tool
.
reset
()
def
assertHasAttribute
(
self
,
obj
,
attribute
,
msg
=
None
):
"""
XXX-arnau: copy/paste from TestZodbPropertySheet
"""
self
.
failIfEqual
(
None
,
getattr
(
obj
,
attribute
,
None
),
msg
or
'%s: no attribute %s'
%
(
obj
.
__name__
,
attribute
))
def
failIfHasAttribute
(
self
,
obj
,
attribute
,
msg
=
None
):
"""
XXX-arnau: copy/paste from TestZodbPropertySheet
"""
self
.
assertEquals
(
None
,
getattr
(
obj
,
attribute
,
None
),
msg
or
'%s: attribute %s present'
%
(
obj
.
__name__
,
attribute
))
def
testValidateInvalidate
(
self
):
def
testValidateInvalidate
(
self
):
"""
"""
The new Extension Component should only be in erp5.component.extension
The new Extension Component should only be in erp5.component.extension
...
...
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