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
03c2f0d5
Commit
03c2f0d5
authored
Sep 21, 2011
by
Nicolas Delaby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check also URL documents
parent
4e9905c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
product/ERP5/tests/testERP5Coordinate.py
product/ERP5/tests/testERP5Coordinate.py
+8
-0
No files found.
product/ERP5/tests/testERP5Coordinate.py
View file @
03c2f0d5
...
...
@@ -84,6 +84,14 @@ class TestERP5Coordinate(ERP5TypeTestCase):
self
.
assertEquals
(
address
.
getCoordinateText
(),
address_text
)
self
.
assertEquals
(
address
.
asText
(),
address_text
)
# Check Email
email
=
person
.
newContent
(
portal_type
=
'Email'
)
self
.
assertEquals
(
email
.
getCoordinateText
(),
None
)
self
.
assertEquals
(
email
.
getCoordinateText
(
''
),
''
)
email_text
=
'toto@example.com'
email
.
setCoordinateText
(
email_text
)
self
.
assertEquals
(
email
.
getCoordinateText
(),
email_text
)
self
.
assertEquals
(
email
.
asText
(),
email_text
)
# Old API check backward compatibility
def
test_TelephoneAsText
(
self
):
...
...
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