mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-03 02:37:48 +08:00
add 'connect' parameter which was missing
Not sure if that needs to be there, it's not used at all in the method. Side-effects?
This commit is contained in:
@@ -54,7 +54,7 @@ class TestRepoDone(unittest.TestCase):
|
||||
@mock.patch('rida.builder.KojiModuleBuilder.build')
|
||||
@mock.patch('rida.builder.KojiModuleBuilder.buildroot_connect')
|
||||
@mock.patch('rida.models.ModuleBuild.from_repo_done_event')
|
||||
def test_a_single_match(self, from_repo_done_event, build_fn, config, ready):
|
||||
def test_a_single_match(self, from_repo_done_event, connect, build_fn, config, ready):
|
||||
""" Test that when a repo msg hits us and we have a single match.
|
||||
"""
|
||||
config.return_value = mock.Mock(), "development"
|
||||
|
||||
Reference in New Issue
Block a user