Commits

Michał Górny  committed 8b64118

Tests: don't expect having multi-matching atom installed.

  • Participants
  • Parent commits e112f11

Comments (0)

Files changed (1)

File gentoopm/tests/psets.py

 	def test_filter_atom_multiple(self):
 		""" Check whether multi-matching atoms return multiple packages. """
 		at = PackageNames.multiple
-		for r in self._repos:
+		for r in (self._repo, self._stack):
 			keys = set()
 			for p in r.filter(at):
 				keys.add(p.key)
 
 	def test_select_atom_multiple(self):
 		at = PackageNames.multiple
-		for r in self._repos:
+		for r in (self._repo, self._stack):
 			self.assertRaises(AmbiguousPackageSetError, r.select, at)
 
 	def test_select_atom_empty(self):
 
 	def test_contains_atom_multiple(self):
 		at = PackageNames.multiple
-		for r in self._repos:
+		for r in (self._repo, self._stack):
 			self.assertTrue(at in r)
 
 	def test_contains_atom_empty(self):