diff options
Diffstat (limited to 'plugins/i18n_subsites/test_i18n_subsites.py')
-rw-r--r-- | plugins/i18n_subsites/test_i18n_subsites.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/i18n_subsites/test_i18n_subsites.py b/plugins/i18n_subsites/test_i18n_subsites.py index c6c1d6a..07c603a 100644 --- a/plugins/i18n_subsites/test_i18n_subsites.py +++ b/plugins/i18n_subsites/test_i18n_subsites.py @@ -42,12 +42,12 @@ class TestSettingsManipulation(unittest.TestCase): self.settings['PELICAN_CLASS'] = object cls = i18ns.get_pelican_cls(self.settings) self.assertIs(cls, object) - + def test_get_pelican_cls_str(self): '''Test that we get correct class given by string''' cls = i18ns.get_pelican_cls(self.settings) self.assertIs(cls, Pelican) - + class TestSitesRelpath(unittest.TestCase): '''Test relative path between sites generation''' @@ -72,7 +72,7 @@ class TestSitesRelpath(unittest.TestCase): self.assertEqual(i18ns.relpath_to_site('en', 'de'), 'de') self.assertEqual(i18ns.relpath_to_site('de', 'en'), '..') - + class TestRegistration(unittest.TestCase): '''Test plugin registration''' @@ -91,7 +91,7 @@ class TestRegistration(unittest.TestCase): self.assertIn(id(handler), sig.receivers) # clean up sig.disconnect(handler) - + class TestFullRun(unittest.TestCase): '''Test running Pelican with the Plugin''' |