Message ID | af73a79f6d4e18e8cc81da19882b7125b92d2523.1679092796.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | af73a79f6d4e18e8cc81da19882b7125b92d2523 |
Headers | show |
Series | [kirkstone,01/21] pkgconf: fix CVE-2023-24056 | expand |
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index 510dae6bad..db8790b57b 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py @@ -579,7 +579,10 @@ class RecipetoolTests(RecipetoolBase): commonlicdir = get_bb_var('COMMON_LICENSE_DIR') - d = bb.tinfoil.TinfoilDataStoreConnector + class DataConnectorCopy(bb.tinfoil.TinfoilDataStoreConnector): + pass + + d = DataConnectorCopy d.getVar = Mock(return_value=commonlicdir) srctree = tempfile.mkdtemp(prefix='recipetoolqa')