Unit Tests

- The Sith must never be allowed to regain their power over us.
This commit is contained in:
Wilhelm Schuermann 2015-03-08 10:26:46 +01:00 committed by Paul Beckingham
parent 87d00698db
commit 281edcc38f

View file

@ -88,7 +88,7 @@ class TestFilterPrefix(TestCase):
self.assertIn('seven', out) self.assertIn('seven', out)
self.assertIn('eight', out) self.assertIn('eight', out)
def test_list_project_startwsith_bar(self): def test_list_project_startswith_bar(self):
"""Filter on project name start.""" """Filter on project name start."""
code, out, err = self.t(('list', 'project.startswith:bar')) code, out, err = self.t(('list', 'project.startswith:bar'))
self.assertNotIn('one', out) self.assertNotIn('one', out)
@ -124,7 +124,7 @@ class TestFilterPrefix(TestCase):
self.assertNotIn('seven', out) self.assertNotIn('seven', out)
self.assertNotIn('eight', out) self.assertNotIn('eight', out)
def test_list_descrtiption_has_foo(self): def test_list_description_has_foo(self):
"""Filter on description pattern.""" """Filter on description pattern."""
code, out, err = self.t(('list', 'description.has:foo')) code, out, err = self.t(('list', 'description.has:foo'))
self.assertIn('one', out) self.assertIn('one', out)