def test_the_test(self): """ReadsExactly tests what it says on the tin""" re_ = ReadsExactly("Blah") self.assertTrue(re_.matches("Blah")) self.assertFalse(re_.matches("blah"))
def test_the_test(self): """ReadsExactly tests what it says on the tin""" re_ = ReadsExactly("Blah") assert re_.matches("Blah") assert not re_.matches("blah")