Skip to content

Commit

Permalink
Clean up tests that use features not present on the 3.5 branch.
Browse files Browse the repository at this point in the history
Signed-off-by: Randy Barlow <[email protected]>
  • Loading branch information
bowlofeggs committed Mar 7, 2018
1 parent dd4f6d1 commit de83b54
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions bodhi/tests/server/consumers/test_masher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down Expand Up @@ -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])

Expand All @@ -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':
Expand Down

0 comments on commit de83b54

Please sign in to comment.