Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
e3f1ebac
Commit
e3f1ebac
authored
Nov 19, 2015
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simulation: Followup of previous commit and
0beae288
(WIP).
parent
e1513391
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
product/ERP5/mixin/equivalence_tester.py
product/ERP5/mixin/equivalence_tester.py
+20
-0
No files found.
product/ERP5/mixin/equivalence_tester.py
View file @
e3f1ebac
...
@@ -243,3 +243,23 @@ class EquivalenceTesterMixin:
...
@@ -243,3 +243,23 @@ class EquivalenceTesterMixin:
def
getTestedPropertyList
(
self
):
def
getTestedPropertyList
(
self
):
return
[
self
.
getTestedProperty
()]
return
[
self
.
getTestedProperty
()]
def
getTestedPropertyTitle
(
self
):
tested_property_title
=
getattr
(
self
,
'tested_property_title'
,
None
)
if
tested_property_title
!=
None
:
if
isinstance
(
tested_property_title
,
tuple
):
if
len
(
tested_property_title
)
==
1
:
new_value
=
tested_property_title
[
0
]
else
:
new_value
=
None
setattr
(
self
,
'tested_property_title'
,
new_value
)
LOG
(
"equivalence_tester"
,
WARNING
,
"%s: Migrated tested_property_title: %r => %r"
%
(
self
.
getRelativeUrl
(),
tested_property_title
,
new_value
))
return
self
.
_baseGetTestedPropertyTitle
()
def
getTestedPropertyTitleList
(
self
):
return
[
self
.
getTestedPropertyTitle
()]
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