mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
python3-betamax: fix ptests
1. Some tests require internet access. Set a DNS for that, if it is not available at the start of the test. 2. Added a backported patch that fixes some failing tests, due to a variable header value contained in a response. (fix-failing-ptest.patch) 3. Added a backported patch that avoids calling pytest fixtures directly. If not applied, tests calling them are marked as failing by pytest. (fix-direct-calls-to-test-fixtures.patch) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=61c15f0c146c5fb1a8ce8ba2f310d73c"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
file://fix-failing-ptest.patch \
|
||||
file://fix-direct-calls-to-test-fixtures.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "b8182d43a200fc126a3bf7555626f964"
|
||||
|
||||
Reference in New Issue
Block a user