diff options
| author | 2015-11-11 16:34:34 -0300 | |
|---|---|---|
| committer | 2015-11-11 16:34:34 -0300 | |
| commit | 4e3224c012df9f74f010eb92203520515e8537b9 (patch) | |
| tree | 19322dc0c595268cb6864f21d7e92fd93cb826e9 /tests/test_locale.py | |
| parent | 787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff) | |
Imported Upstream version 7.7.3upstream/7.7.3
Diffstat (limited to 'tests/test_locale.py')
| -rw-r--r-- | tests/test_locale.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_locale.py b/tests/test_locale.py index d24fdfb..8ffa112 100644 --- a/tests/test_locale.py +++ b/tests/test_locale.py @@ -214,8 +214,8 @@ class TestLocaleBorg(unittest.TestCase): def test_services_reject_dumb_wrong_call(self): lang_11, loc_11 = LocaleSupportInTesting.langlocales['default'] nikola.utils.LocaleBorg.reset() + self.assertRaises(Exception, nikola.utils.LocaleBorg) self.assertRaises(Exception, nikola.utils.LocaleBorg.set_locale, lang_11) - self.assertRaises(Exception, getattr, nikola.utils.LocaleBorg, 'current_lang') def test_set_locale_raises_on_invalid_lang(self): lang_11, loc_11 = LocaleSupportInTesting.langlocales['default'] |
