From cb4fbd991000e75f62ff454720fb0bb421ebf7d7 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: May 26 2021 07:42:41 +0000 Subject: request-tests-repo: add empty 'upstreamurl' item This was added to fit with fedscm-admin change. Currently, not necessary for functionality. Relates: https://pagure.io/fedscm-admin/pull-request/37 Fixes: rhbz#1854987 Signed-off-by: Ondrej Nosek --- diff --git a/fedpkg/cli.py b/fedpkg/cli.py index 406151f..53ce761 100644 --- a/fedpkg/cli.py +++ b/fedpkg/cli.py @@ -918,6 +918,7 @@ class fedpkgClient(cliClient): 'namespace': 'tests', 'repo': repo_name, 'description': description, + 'upstreamurl': '', } else: # Default branch is rawhide, but for flatpaks namespace its 'stable' diff --git a/test/test_cli.py b/test/test_cli.py index 4b832af..f41d1ef 100644 --- a/test/test_cli.py +++ b/test/test_cli.py @@ -1486,7 +1486,8 @@ class TestRequestTestsRepo(CliTestCase): 'monitor': 'no-monitoring', 'namespace': 'tests', 'repo': 'foo', - 'description': 'Some description' + 'description': 'Some description', + 'upstreamurl': '' } # Get the data that was submitted to Pagure