From 273d72bbe81bc8c25d7e921d8741cf82aa57dc6e Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Tue, 3 Sep 2019 16:56:41 +0000 Subject: oeqa/core/tests: Skip test_fail_duplicated_module At some point the modules in tests/cases/loader/invalid/ were removed, this test relied on having tests/cases/loader/invalid/oetag.py to trigger a ImportError in the loader module. Skip this test. (From OE-Core rev: cf79aa6383e2a2773e53d5b3082154777646cda4) Signed-off-by: Nathan Rossi Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/tests/test_loader.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/lib') diff --git a/meta/lib/oeqa/core/tests/test_loader.py b/meta/lib/oeqa/core/tests/test_loader.py index 519ba96091..e73c91b141 100755 --- a/meta/lib/oeqa/core/tests/test_loader.py +++ b/meta/lib/oeqa/core/tests/test_loader.py @@ -40,6 +40,7 @@ class TestLoader(TestBase): result = True if expect in str(e) else False self.assertTrue(result, msg=msg) + @unittest.skip("invalid directory is missing oetag.py") def test_fail_duplicated_module(self): cases_path = self.cases_path invalid_path = os.path.join(cases_path, 'loader', 'invalid') -- cgit v1.2.3-54-g00ecf