Commit 81058089 authored by Romain Courteaud's avatar Romain Courteaud

Rename test class to TestGeographicalAddress.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14810 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98e7489a
...@@ -39,13 +39,12 @@ from AccessControl.SecurityManagement import newSecurityManager, \ ...@@ -39,13 +39,12 @@ from AccessControl.SecurityManagement import newSecurityManager, \
from Products.ERP5Type.tests.Sequence import Sequence, SequenceList from Products.ERP5Type.tests.Sequence import Sequence, SequenceList
from Products.ERP5Type.tests.utils import createZODBPythonScript from Products.ERP5Type.tests.utils import createZODBPythonScript
class TestGis(ERP5TypeTestCase): class TestGeographicalAddress(ERP5TypeTestCase):
""" """
ERP5 Geographical Address related tests. ERP5 Geographical Address related tests.
The purpose of this test is to check that the getText function defined The purpose of this test is to check that the getText function defined
on a Geographical Address returns the standard text format. on a Geographical Address returns the standard text format.
""" """
run_all_test = 1 run_all_test = 1
...@@ -57,7 +56,7 @@ class TestGis(ERP5TypeTestCase): ...@@ -57,7 +56,7 @@ class TestGis(ERP5TypeTestCase):
city_text = "City1" city_text = "City1"
def getTitle(self): def getTitle(self):
return "Gis" return "Geographical Address"
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" """
...@@ -213,5 +212,5 @@ else: ...@@ -213,5 +212,5 @@ else:
import unittest import unittest
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestGis)) suite.addTest(unittest.makeSuite(TestGeographicalAddress))
return suite return suite
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