From: Nathan Rossi Date: Tue, 3 Sep 2019 16:56:41 +0000 (+0000) Subject: oeqa/core/tests: Skip test_fail_duplicated_module X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13396 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf79aa6383e2a2773e53d5b3082154777646cda4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Nathan Rossi Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/core/tests/test_loader.py b/meta/lib/oeqa/core/tests/test_loader.py index 519ba960917..e73c91b1413 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')