def test_no_exception(self): """Test that catches an exception """ inputs = 7, 8, 9 self.assertEquals(dummy_function(*inputs, name="Hello"), inputs[0])
def test_catching(self): """Test that catches an exception """ self.assertIsNone(dummy_function(SystemError()))