diff --git a/test/framework/modules.py b/test/framework/modules.py index 3b87ddec4e..ab4bc3af59 100644 --- a/test/framework/modules.py +++ b/test/framework/modules.py @@ -1699,6 +1699,7 @@ def test_module_load_environment(self): self.assertTrue(hasattr(mod_load_env, 'TEST_EXTRA')) self.assertEqual(mod_load_env.TEST_EXTRA.contents, test_contents) + def suite(): """ returns all the testcases in this module """ return TestLoaderFiltered().loadTestsFromTestCase(ModulesTest, sys.argv[1:])