summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_configuration.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/tests/test_configuration.py')
-rw-r--r--repoze/bfg/tests/test_configuration.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/repoze/bfg/tests/test_configuration.py b/repoze/bfg/tests/test_configuration.py
index a1e753179..90e074e9a 100644
--- a/repoze/bfg/tests/test_configuration.py
+++ b/repoze/bfg/tests/test_configuration.py
@@ -1825,9 +1825,9 @@ class ConfiguratorTests(unittest.TestCase):
import os
from repoze.bfg.interfaces import ITranslationDirectories
config = self._makeOne()
- config.add_translation_dirs('repoze.bfg.tests.fixtures:locale')
+ config.add_translation_dirs('repoze.bfg.tests.localeapp:locale')
here = os.path.dirname(__file__)
- locale = os.path.join(here, 'fixtures', 'locale')
+ locale = os.path.join(here, 'localeapp', 'locale')
self.assertEqual(config.registry.getUtility(ITranslationDirectories),
[locale])
@@ -1838,7 +1838,7 @@ class ConfiguratorTests(unittest.TestCase):
config = self._makeOne()
manager.push({'request':request, 'registry':config.registry})
try:
- config.add_translation_dirs('repoze.bfg.tests.fixtures:locale')
+ config.add_translation_dirs('repoze.bfg.tests.localeapp:locale')
translate = config.registry.getUtility(IChameleonTranslate)
self.assertEqual(translate('Approve'), u'Approve')
finally:
@@ -1849,7 +1849,7 @@ class ConfiguratorTests(unittest.TestCase):
from repoze.bfg.interfaces import ITranslationDirectories
config = self._makeOne()
here = os.path.dirname(__file__)
- locale = os.path.join(here, 'fixtures', 'locale')
+ locale = os.path.join(here, 'localeapp', 'locale')
config.add_translation_dirs(locale)
self.assertEqual(config.registry.getUtility(ITranslationDirectories),
[locale])