Test: Updated attmod test because of new rules
This commit is contained in:
@@ -188,7 +188,7 @@ class TestBug299(TestCase):
|
|||||||
code, out, err = self.t("list project.isnt:one pro.isnt:two")
|
code, out, err = self.t("list project.isnt:one pro.isnt:two")
|
||||||
|
|
||||||
self.assertNotRegexpMatches(out, "one.*foo")
|
self.assertNotRegexpMatches(out, "one.*foo")
|
||||||
self.assertRegexpMatches(out, "ones.*faz")
|
self.assertNotRegexpMatches(out, "ones.*faz")
|
||||||
self.assertRegexpMatches(out, "phone.*boo")
|
self.assertRegexpMatches(out, "phone.*boo")
|
||||||
self.assertRegexpMatches(out, "bones.*too")
|
self.assertRegexpMatches(out, "bones.*too")
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@ class TestBug906(TestCase):
|
|||||||
|
|
||||||
code, out, err = self.t("pro.not:a list")
|
code, out, err = self.t("pro.not:a list")
|
||||||
self.assertIn("zero", out)
|
self.assertIn("zero", out)
|
||||||
self.assertIn("one", out)
|
self.assertNotIn("one", out)
|
||||||
self.assertNotIn("two", out)
|
self.assertNotIn("two", out)
|
||||||
|
|
||||||
code, out, err = self.t("pro.not:a.b list")
|
code, out, err = self.t("pro.not:a.b list")
|
||||||
|
|||||||
Reference in New Issue
Block a user