| |
@@ -54,12 +54,12 @@
|
| |
"mariadb-connect-engine-3:10.2.9-3.module_629c669e.x86_64.rpm")
|
| |
module2_res["results"][0]["koji_tag"] = "module-15d35d06c29b1848"
|
| |
module2_res["results"][0]["rpms"] = [
|
| |
- "mariadb-debugsource-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-connect-engine-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-debuginfo-3:11.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
- "mariadb-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-devel-3:9.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
- "mariadb-connect-engine-3:10.2.9-3.module_15d35d06.x86_64.rpm"
|
| |
+ "mariadb-debugsource-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-connect-engine-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-debuginfo-3:11.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
+ "mariadb-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-devel-3:9.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
+ "mariadb-connect-engine-3:10.2.9-3.module_15d35d06.x86_64.rpm"
|
| |
]
|
| |
|
| |
with requests_mock.mock() as mock_http:
|
| |
@@ -89,13 +89,13 @@
|
| |
module2_res = pdc_json_res.get()
|
| |
module2_res["results"][0]["koji_tag"] = "module-15d35d06c29b1848"
|
| |
module2_res["results"][0]["rpms"] = [
|
| |
- "mariadb-3:10.2.9-3.module_629c669e.src.rpm",
|
| |
- "mariadb-debugsource-3:11.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
- "mariadb-connect-engine-debuginfo-3:10.2.8-3.module_15d35d06.x86_64.rpm",
|
| |
- "mariadb-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-devel-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-connect-engine-3:10.2.9-3.module_629c669e.x86_64.rpm"
|
| |
+ "mariadb-3:10.2.9-3.module_629c669e.src.rpm",
|
| |
+ "mariadb-debugsource-3:11.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
+ "mariadb-connect-engine-debuginfo-3:10.2.8-3.module_15d35d06.x86_64.rpm",
|
| |
+ "mariadb-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-devel-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-connect-engine-3:10.2.9-3.module_629c669e.x86_64.rpm"
|
| |
]
|
| |
|
| |
with requests_mock.mock() as mock_http:
|
| |
@@ -168,13 +168,13 @@
|
| |
module2_res = pdc_json_res.get()
|
| |
module2_res["results"][0]["koji_tag"] = "module-15d35d06c29b1848"
|
| |
module2_res["results"][0]["rpms"] = [
|
| |
- "mariadb-3:10.2.9-3.module_629c669e.src.rpm",
|
| |
- "mariadb-debugsource-3:10.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
- "mariadb-connect-engine-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-devel-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-connect-engine-3:10.2.9-3.module_629c669e.x86_64.rpm"
|
| |
+ "mariadb-3:10.2.9-3.module_629c669e.src.rpm",
|
| |
+ "mariadb-debugsource-3:10.2.9-3.module_15d35d06.x86_64.rpm",
|
| |
+ "mariadb-connect-engine-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-debuginfo-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-devel-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-connect-engine-3:10.2.9-3.module_629c669e.x86_64.rpm"
|
| |
]
|
| |
|
| |
with requests_mock.mock() as mock_http:
|
| |
@@ -192,8 +192,8 @@
|
| |
assert diff["downgraded_rpms"] == []
|
| |
assert len(diff["reused_rpms"]) == 6
|
| |
assert diff["changed_distag_rpms"] == [
|
| |
- ("mariadb-debugsource-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
- "mariadb-debugsource-3:10.2.9-3.module_15d35d06.x86_64.rpm")]
|
| |
+ ("mariadb-debugsource-3:10.2.9-3.module_629c669e.x86_64.rpm",
|
| |
+ "mariadb-debugsource-3:10.2.9-3.module_15d35d06.x86_64.rpm")]
|
| |
|
| |
def test_get_rpm_md(self, pdc_json_res):
|
| |
"""
|
| |
Signed-off-by: Martin Curlej mcurlej@redhat.com
Issue #2