diff options
author | Jesús <heckyel@hyperbola.info> | 2020-02-25 12:57:22 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-02-25 12:57:22 -0500 |
commit | a8cc6112400142c7a69c6d6d2829364ef3b3a66f (patch) | |
tree | db179f5e7310edd1a58448c372b49fb5334cdb1f /plugins/i18n_subsites/test_i18n_subsites.py | |
parent | a1dd60961f4578d3cf575bf0ccc8c19764edc0ab (diff) | |
download | cl-a8cc6112400142c7a69c6d6d2829364ef3b3a66f.tar.lz cl-a8cc6112400142c7a69c6d6d2829364ef3b3a66f.tar.xz cl-a8cc6112400142c7a69c6d6d2829364ef3b3a66f.zip |
pep8
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''' |