diff --git a/bodhi/tests/server/consumers/test_masher.py b/bodhi/tests/server/consumers/test_masher.py index 7166d9a5a4..523c97d04e 100644 --- a/bodhi/tests/server/consumers/test_masher.py +++ b/bodhi/tests/server/consumers/test_masher.py @@ -1196,8 +1196,7 @@ def test_mash_module_koji_multicall_result_empty_list(self): build = ModuleBuild(nvr=u'testmodule-master-20171', release=release, signed=True, package=package) - t = ModuleComposerThread(self.semmock, {}, 'puiterwijk', log, self.db_factory, - self.tempdir) + t = ModuleComposerThread({}, 'puiterwijk', log, self.db_factory, self.tempdir) with self.assertRaises(Exception) as exc: t._raise_on_get_build_multicall_error([], build) @@ -1212,8 +1211,7 @@ def test_mash_module_koji_multicall_result_dict(self): build = ModuleBuild(nvr=u'testmodule-master-20171', release=release, signed=True, package=package) - t = ModuleComposerThread(self.semmock, {}, 'puiterwijk', log, self.db_factory, - self.tempdir) + t = ModuleComposerThread({}, 'puiterwijk', log, self.db_factory, self.tempdir) with self.assertRaises(Exception) as exc: t._raise_on_get_build_multicall_error({}, build) @@ -1878,7 +1876,7 @@ def test_primary_arch_version_override(self): """ msg = self._make_msg() - t = PungiComposerThread(self.semmock, msg['body']['msg']['composes'][0], + t = PungiComposerThread(msg['body']['msg']['composes'][0], 'bowlofeggs', log, self.Session, self.tempdir) t.compose = Compose.from_dict(self.db, msg['body']['msg']['composes'][0]) @@ -1890,8 +1888,6 @@ def test_primary_arch_version_override(self): 'x86_64/repodata.repomd.xml' ) - self.assert_sems(0) - @mock.patch.dict( 'bodhi.server.consumers.masher.config', {'fedora_testing_master_repomd':