Example #1
0
 def test_strings_without_foo(self):
     """check that find_foo finds 'foo' in all of the strings with 'foo'"""
     for s in self.strings_without_foo:
         self.assertIsNone(find_foo(s))
 def test_strings_without_foo(self):
     """check that find_foo finds 'foo' in all of the strings with 'foo'"""
     for s in self.strings_without_foo:
         self.assertIsNone(find_foo(s))
Example #3
0
 def test_identical(self):
     """check that find_foo finds 'foo' in 'foo'"""
     self.assertIsNotNone(find_foo('foo'))
 def test_identical(self):
     """check that find_foo finds 'foo' in 'foo'"""
     self.assertIsNotNone(find_foo('foo'))