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_identical(self): """check that find_foo finds 'foo' in 'foo'""" self.assertIsNotNone(find_foo('foo'))