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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
10820a36
Commit
10820a36
authored
Oct 18, 2012
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename tests as the tested script has been renamed
parent
e3b20a4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5OOo/tests/testDms.py
product/ERP5OOo/tests/testDms.py
+3
-3
No files found.
product/ERP5OOo/tests/testDms.py
View file @
10820a36
...
...
@@ -1349,7 +1349,7 @@ class TestDocument(TestDocumentMixin):
self
.
tic
()
self
.
assertEquals
(
'converted'
,
document
.
getExternalProcessingState
())
def
test_Base_c
reateNewFil
e
(
self
):
def
test_Base_c
ontribut
e
(
self
):
"""
Test contributing a file and attaching it to context.
"""
...
...
@@ -1374,7 +1374,7 @@ class TestDocument(TestDocumentMixin):
self
.
assertEquals
(
'title'
,
document
.
getTitle
())
self
.
assertEquals
(
contributed_document
,
document
)
def
test_Base_c
reateNewFil
e_empty
(
self
):
def
test_Base_c
ontribut
e_empty
(
self
):
"""
Test contributing an empty file and attaching it to context.
"""
...
...
@@ -1402,7 +1402,7 @@ class TestDocument(TestDocumentMixin):
self
.
assertEquals
(
'File'
,
document
.
getPortalType
())
self
.
assertEquals
(
contributed_document
,
document
)
def
test_Base_c
reateNewFil
e_forced_type
(
self
):
def
test_Base_c
ontribut
e_forced_type
(
self
):
"""Test contributing while forcing the portal type.
"""
person
=
self
.
portal
.
person_module
.
newContent
(
portal_type
=
'Person'
)
...
...
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