koji_block_retired: Do not hardcode distgit url
Signed-off-by: Lenka Segura <lsegura@redhat.com>
This commit is contained in:
parent
12002394af
commit
dcf5661567
2 changed files with 2 additions and 2 deletions
|
@ -1842,7 +1842,7 @@ class TestPagureHasDeadPackageOnBranch:
|
|||
Setup method for the test class.
|
||||
"""
|
||||
config = {
|
||||
"pagure_url": "https://pagure.io",
|
||||
"pagure_url": "https://src.stg.fedoraproject.org",
|
||||
"pagure_api_key": "Very secret key",
|
||||
}
|
||||
self.pagure = pagure.set_pagure(config)
|
||||
|
|
|
@ -1205,7 +1205,7 @@ class Pagure:
|
|||
package: Package name
|
||||
branch: Branch name
|
||||
"""
|
||||
distgit_url = "https://src.fedoraproject.org/api/0/rpms"
|
||||
distgit_url = f"{self._pagure_url}/api/0/rpms"
|
||||
endpoint_url = f"{distgit_url}/{package}/tree/{branch}/f/dead.package"
|
||||
|
||||
headers = self.get_auth_header()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue