From d9816b0ddb29e2914f891e161080813f096585f3 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 7 Aug 2019 17:49:12 -0700 Subject: [PATCH] Current modularity test script requires python3-yaml Signed-off-by: Adam Williamson --- lib/utils.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index e2909abf..9d25510e 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -651,6 +651,8 @@ sub download_modularity_tests { # Download the modularity test script, place in the system and then # modify the access rights to make it executable. my ($whitelist) = @_; + # we need python3-yaml for the script to run + assert_script_run 'dnf -y install python3-yaml', 180; assert_script_run 'curl -o /root/test.py https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/modular_functions.py'; if ($whitelist eq 'whitelist') { assert_script_run 'curl -o /root/whitelist https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/whitelist';