summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Zeidler <az@zitc.de>2013-08-17 12:24:56 +0200
committerAndreas Zeidler <az@zitc.de>2013-08-17 12:26:16 +0200
commitb3e9da039ddc3661874e815512475268b8a88ded (patch)
treef024efb0ea12af8c5c21b761bfebf4366739cbad
parent0064eb70d5b30507b65c05271fe12a2697f88d05 (diff)
downloadpyramid-b3e9da039ddc3661874e815512475268b8a88ded.tar.gz
pyramid-b3e9da039ddc3661874e815512475268b8a88ded.tar.bz2
pyramid-b3e9da039ddc3661874e815512475268b8a88ded.zip
clean up test names
-rw-r--r--pyramid/tests/test_i18n.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyramid/tests/test_i18n.py b/pyramid/tests/test_i18n.py
index b583d1468..336e51b6a 100644
--- a/pyramid/tests/test_i18n.py
+++ b/pyramid/tests/test_i18n.py
@@ -238,7 +238,7 @@ class Test_get_localizer(unittest.TestCase):
self.assertEqual(result.__class__, Localizer)
self.assertEqual(result.locale_name, 'en')
- def test_custom_localizer(self):
+ def test_custom_localizer_for_default_locale(self):
from pyramid.threadlocal import get_current_registry
from pyramid.interfaces import ILocalizer
registry = get_current_registry()
@@ -248,7 +248,7 @@ class Test_get_localizer(unittest.TestCase):
result = self._callFUT(request)
self.assertEqual(result, dummy)
- def test_locale_from_registry(self):
+ def test_custom_localizer_for_custom_locale(self):
from pyramid.threadlocal import get_current_registry
from pyramid.interfaces import ILocalizer
registry = get_current_registry()
@@ -259,7 +259,7 @@ class Test_get_localizer(unittest.TestCase):
result = self._callFUT(request)
self.assertEqual(result, dummy)
- def test_locale_from_mo(self):
+ def test_localizer_from_mo(self):
from pyramid.threadlocal import get_current_registry
from pyramid.interfaces import ITranslationDirectories
from pyramid.i18n import Localizer
@@ -275,7 +275,7 @@ class Test_get_localizer(unittest.TestCase):
self.assertEqual(result.translate('Approve'), 'Approve')
self.assertTrue(hasattr(result, 'pluralize'))
- def test_locale_from_mo_bad_mo(self):
+ def test_localizer_from_mo_bad_mo(self):
from pyramid.threadlocal import get_current_registry
from pyramid.interfaces import ITranslationDirectories
from pyramid.i18n import Localizer