Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/db/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/db/index.py')
-rwxr-xr-xtests/units/db/index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/db/index.py b/tests/units/db/index.py
index 45dcbb8..ef6df53 100755
--- a/tests/units/db/index.py
+++ b/tests/units/db/index.py
@@ -567,7 +567,7 @@ class IndexTest(tests.Test):
self.assertEqual(1, len(commits))
def test_SortLocalizedProps(self):
- toolkit._default_lang = 'default_lang'
+ toolkit._default_langs = ['default_lang']
current_lang = locale.getdefaultlocale()[0].replace('_', '-')
db = Index({'prop': IndexedProperty('prop', 1, 'A', localized=True)})