diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-04-25 00:18:15 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-04-25 00:18:15 +0000 |
| commit | 3fdfa8fab9ccfa661baa823d892ed563958ebba4 (patch) | |
| tree | 8f95ba60ace308c7604003c82416a0b056520e21 /repoze/bfg/tests/test_i18n.py | |
| parent | 0b326088803e0c1adf58c550b329fbc33f884346 (diff) | |
| download | pyramid-3fdfa8fab9ccfa661baa823d892ed563958ebba4.tar.gz pyramid-3fdfa8fab9ccfa661baa823d892ed563958ebba4.tar.bz2 pyramid-3fdfa8fab9ccfa661baa823d892ed563958ebba4.zip | |
Move locale out of fixtures and into localeapp to prevent test runner weirdness (finding nonminimal.txt.py).
Diffstat (limited to 'repoze/bfg/tests/test_i18n.py')
| -rw-r--r-- | repoze/bfg/tests/test_i18n.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/repoze/bfg/tests/test_i18n.py b/repoze/bfg/tests/test_i18n.py index 9c4b226e4..fb79a802c 100644 --- a/repoze/bfg/tests/test_i18n.py +++ b/repoze/bfg/tests/test_i18n.py @@ -179,7 +179,7 @@ class Test_get_localizer(unittest.TestCase): from repoze.bfg.i18n import Localizer registry = get_current_registry() here = os.path.dirname(__file__) - localedir = os.path.join(here, 'fixtures', 'locale') + localedir = os.path.join(here, 'localeapp', 'locale') localedirs = [localedir] registry.registerUtility(localedirs, ITranslationDirectories) request = DummyRequest() @@ -198,7 +198,7 @@ class Test_get_localizer(unittest.TestCase): from repoze.bfg.i18n import Localizer registry = get_current_registry() here = os.path.dirname(__file__) - localedir = os.path.join(here, 'fixtures', 'locale') + localedir = os.path.join(here, 'localeapp', 'locale') localedirs = [localedir] registry.registerUtility(localedirs, ITranslationDirectories) request = DummyRequest() @@ -270,7 +270,7 @@ class TestTranslations(unittest.TestCase): import gettext import os here = os.path.dirname(__file__) - localedir = os.path.join(here, 'fixtures', 'locale') + localedir = os.path.join(here, 'localeapp', 'locale') locales = ['de', 'en'] klass = self._getTargetClass() result = klass.load(localedir, locales, domain=None) @@ -279,7 +279,7 @@ class TestTranslations(unittest.TestCase): def test_load_found_locale_and_domain(self): import os here = os.path.dirname(__file__) - localedir = os.path.join(here, 'fixtures', 'locale') + localedir = os.path.join(here, 'localeapp', 'locale') locales = ['de', 'en'] klass = self._getTargetClass() result = klass.load(localedir, locales, domain='deformsite') @@ -288,7 +288,7 @@ class TestTranslations(unittest.TestCase): def test_load_found_locale_and_domain_locale_is_string(self): import os here = os.path.dirname(__file__) - localedir = os.path.join(here, 'fixtures', 'locale') + localedir = os.path.join(here, 'localeapp', 'locale') locales = 'de' klass = self._getTargetClass() result = klass.load(localedir, locales, domain='deformsite') |
