Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoopm:master commit in: gentoopm/tests/
Date: Sat, 29 Nov 2014 08:57:09
Message-Id: 1417251389.6a50f729eb34686f5749bde44d15b6c6fe91c59e.mgorny@gentoo
1 commit: 6a50f729eb34686f5749bde44d15b6c6fe91c59e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 29 08:56:29 2014 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 29 08:56:29 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=6a50f729
7
8 Tests: don't assume '*/*::foo' is invalid
9
10 This atom is valid in Paludis, and there's probably no reason why it
11 wouldn't be valid in other PMs.
12
13 ---
14 gentoopm/tests/atom.py | 1 -
15 1 file changed, 1 deletion(-)
16
17 diff --git a/gentoopm/tests/atom.py b/gentoopm/tests/atom.py
18 index 74d1b28..4c3841d 100644
19 --- a/gentoopm/tests/atom.py
20 +++ b/gentoopm/tests/atom.py
21 @@ -16,7 +16,6 @@ class UserSpecifiedAtomTestCase(PMTestCase):
22 def test_invalid_atoms(self):
23 self.assertRaises(InvalidAtomStringError, self.pm.Atom, '<>foo')
24 self.assertRaises(InvalidAtomStringError, self.pm.Atom, '=bar')
25 - self.assertRaises(InvalidAtomStringError, self.pm.Atom, '*/*::baz')
26
27 def test_incomplete_atom(self):
28 a = self._incomplete_atom