Commit 10820a36 authored by Jérome Perrin's avatar Jérome Perrin

rename tests as the tested script has been renamed

parent e3b20a4f
...@@ -1349,7 +1349,7 @@ class TestDocument(TestDocumentMixin): ...@@ -1349,7 +1349,7 @@ class TestDocument(TestDocumentMixin):
self.tic() self.tic()
self.assertEquals('converted', document.getExternalProcessingState()) self.assertEquals('converted', document.getExternalProcessingState())
def test_Base_createNewFile(self): def test_Base_contribute(self):
""" """
Test contributing a file and attaching it to context. Test contributing a file and attaching it to context.
""" """
...@@ -1374,7 +1374,7 @@ class TestDocument(TestDocumentMixin): ...@@ -1374,7 +1374,7 @@ class TestDocument(TestDocumentMixin):
self.assertEquals('title', document.getTitle()) self.assertEquals('title', document.getTitle())
self.assertEquals(contributed_document, document) self.assertEquals(contributed_document, document)
def test_Base_createNewFile_empty(self): def test_Base_contribute_empty(self):
""" """
Test contributing an empty file and attaching it to context. Test contributing an empty file and attaching it to context.
""" """
...@@ -1402,7 +1402,7 @@ class TestDocument(TestDocumentMixin): ...@@ -1402,7 +1402,7 @@ class TestDocument(TestDocumentMixin):
self.assertEquals('File', document.getPortalType()) self.assertEquals('File', document.getPortalType())
self.assertEquals(contributed_document, document) self.assertEquals(contributed_document, document)
def test_Base_createNewFile_forced_type(self): def test_Base_contribute_forced_type(self):
"""Test contributing while forcing the portal type. """Test contributing while forcing the portal type.
""" """
person = self.portal.person_module.newContent(portal_type='Person') person = self.portal.person_module.newContent(portal_type='Person')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment