diff options
Diffstat (limited to 'tests/unittests/conformance_tests.py')
-rw-r--r-- | tests/unittests/conformance_tests.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/unittests/conformance_tests.py b/tests/unittests/conformance_tests.py index 5419f9d3..137121ea 100644 --- a/tests/unittests/conformance_tests.py +++ b/tests/unittests/conformance_tests.py @@ -26,7 +26,8 @@ class PluginConformance(unittest.TestCase): def test_plugin_tuples_set_correctly(self): for plug in self.plug_classes: - for tup in ['packages', 'commands', 'files', 'profiles', 'kernel_mods', 'containers']: + for tup in ['packages', 'commands', 'files', 'profiles', + 'kernel_mods', 'containers']: _attr = getattr(plug, tup) self.assertIsInstance( _attr, tuple, @@ -35,14 +36,16 @@ class PluginConformance(unittest.TestCase): def test_plugin_description_is_str(self): for plug in self.plug_classes: - self.assertIsInstance(plug.short_desc, str, "%s name not string" % plug.__name__) + self.assertIsInstance(plug.short_desc, str, + "%s name not string" % plug.__name__) # make sure the description is not empty self.assertNotEqual(plug.short_desc, '', "%s description unset" % plug.__name__) def test_plugin_name_is_str(self): for plug in self.plug_classes: - self.assertIsInstance(plug.plugin_name, str, "%s name not string" % plug.__name__) + self.assertIsInstance(plug.plugin_name, str, + "%s name not string" % plug.__name__) self.assertNotEqual(plug.plugin_name, '', "%s name unset" % plug.__name__) |