Skip to content

Commit

Permalink
Hrm... duplicate test that wasn't really doing what it was defined to…
Browse files Browse the repository at this point in the history
… do.
  • Loading branch information
mmulich committed Dec 16, 2011
1 parent 5c89128 commit fd7c969
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkgmeta/tests/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,5 @@ def test_setting_with_invalid_type(self):
#: Make sure the repo is empty to start
self.assertEqual(len(repo), 0)
#: Set a releaseset
release = self.make_releaseset(*SOLARCAL)
repo[release.name] = release
self.assertEqual(len(repo), 1)
self.assertIn(SOLARCAL[0]['name'], repo)
with self.assertRaises(TypeError):
repo['error'] = object()

0 comments on commit fd7c969

Please sign in to comment.