summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2019-09-03 16:56:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-06 08:15:45 +0100
commit273d72bbe81bc8c25d7e921d8741cf82aa57dc6e (patch)
tree43baafe609f94c9f3cdaf9d500a42b9e25440952 /meta
parent7108fa48b73b003621d96687478947579c00e8df (diff)
downloadpoky-273d72bbe81bc8c25d7e921d8741cf82aa57dc6e.tar.gz
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 <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/lib/oeqa/core/tests/test_loader.py1
1 files changed, 1 insertions, 0 deletions
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):
40 result = True if expect in str(e) else False 40 result = True if expect in str(e) else False
41 self.assertTrue(result, msg=msg) 41 self.assertTrue(result, msg=msg)
42 42
43 @unittest.skip("invalid directory is missing oetag.py")
43 def test_fail_duplicated_module(self): 44 def test_fail_duplicated_module(self):
44 cases_path = self.cases_path 45 cases_path = self.cases_path
45 invalid_path = os.path.join(cases_path, 'loader', 'invalid') 46 invalid_path = os.path.join(cases_path, 'loader', 'invalid')