Move RPM, Koji code into misc module
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
30f90f2c99
commit
9f10baebcd
3 changed files with 82 additions and 65 deletions
|
@ -42,7 +42,7 @@ class TestNextBuild:
|
|||
) as f:
|
||||
koji_list_builds_output = json.load(f)
|
||||
|
||||
with mock.patch("rpmautospec.release.koji") as mock_koji:
|
||||
with mock.patch("rpmautospec.misc.koji") as mock_koji:
|
||||
mock_client = mock.MagicMock()
|
||||
mock_koji.ClientSession.return_value = mock_client
|
||||
mock_client.getPackageID.return_value = 1234
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue