commit:     6a50f729eb34686f5749bde44d15b6c6fe91c59e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 29 08:56:29 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 29 08:56:29 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=6a50f729

Tests: don't assume '*/*::foo' is invalid

This atom is valid in Paludis, and there's probably no reason why it
wouldn't be valid in other PMs.

---
 gentoopm/tests/atom.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gentoopm/tests/atom.py b/gentoopm/tests/atom.py
index 74d1b28..4c3841d 100644
--- a/gentoopm/tests/atom.py
+++ b/gentoopm/tests/atom.py
@@ -16,7 +16,6 @@ class UserSpecifiedAtomTestCase(PMTestCase):
        def test_invalid_atoms(self):
                self.assertRaises(InvalidAtomStringError, self.pm.Atom, '<>foo')
                self.assertRaises(InvalidAtomStringError, self.pm.Atom, '=bar')
-               self.assertRaises(InvalidAtomStringError, self.pm.Atom, 
'*/*::baz')
 
        def test_incomplete_atom(self):
                a = self._incomplete_atom

Reply via email to