Clean up test_format_mmd

This commit is contained in:
mprahl
2019-05-09 13:06:04 -04:00
parent 14098cea08
commit 67ad5dded7

View File

@@ -480,10 +480,8 @@ class TestUtils:
@pytest.mark.parametrize(
"scmurl",
[
(
"https://src.stg.fedoraproject.org/modules/testmodule.git"
"?#620ec77321b2ea7b0d67d82992dda3e1d67055b4"
),
"https://src.stg.fedoraproject.org/modules/testmodule.git"
"?#620ec77321b2ea7b0d67d82992dda3e1d67055b4",
None,
],
)
@@ -491,10 +489,6 @@ class TestUtils:
def test_format_mmd(self, mocked_scm, scmurl):
mocked_scm.return_value.commit = "620ec77321b2ea7b0d67d82992dda3e1d67055b4"
# For all the RPMs in testmodule, get_latest is called
mocked_scm.return_value.get_latest.side_effect = [
"4ceea43add2366d8b8c5a622a2fb563b625b9abf",
"fbed359411a1baa08d4a88e0d12d426fbf8f602c",
]
hashes_returned = {
"master": "fbed359411a1baa08d4a88e0d12d426fbf8f602c",
"f28": "4ceea43add2366d8b8c5a622a2fb563b625b9abf",