def test_it_should_assert_false_for_invalid_arguments(self): try: assertions.assertFalse(True) self.fail("did not identify that True is not False") except assertions.AssertionFailedError, e: self.assertEqual('expected True to be False', e.message)
def test_it_should_assert_false_for_valid_arguments(self): self.assertEqual(True, assertions.assertFalse(False), 'did not identify that False is False')
def test_it_should_assert_false(self): try: assertions.assertFalse(False) except assertions.AssertionFailedError, e: self.fail("did not identify that False was False")