diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2019-09-03 16:56:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-06 08:15:45 +0100 |
commit | 273d72bbe81bc8c25d7e921d8741cf82aa57dc6e (patch) | |
tree | 43baafe609f94c9f3cdaf9d500a42b9e25440952 /meta | |
parent | 7108fa48b73b003621d96687478947579c00e8df (diff) | |
download | poky-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-x | meta/lib/oeqa/core/tests/test_loader.py | 1 |
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') |