diff options
author | Jesús <heckyel@hyperbola.info> | 2020-02-04 21:03:27 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-02-04 21:03:27 -0500 |
commit | edcc28d056fa30681248910a63cf202870d26d1c (patch) | |
tree | 25d3f918d129ed66729358b161b202fee01d26d6 /plugins/i18n_subsites/test_i18n_subsites.py | |
parent | 8ce14267858a6ec60cd86d22f086d43067b1fd9c (diff) | |
download | libretube-edcc28d056fa30681248910a63cf202870d26d1c.tar.lz libretube-edcc28d056fa30681248910a63cf202870d26d1c.tar.xz libretube-edcc28d056fa30681248910a63cf202870d26d1c.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''' |