def test_do_stuff3(self): test_param = '' result = main.funcname(test_param) self.assertEqual(result, 'Please enter any number')
def test_do_stuff(self): ''' Doing Test 1 ''' test_param = 10 result = main.funcname(test_param) self.assertEqual(result, 15)
def test_do_stuff2(self): test_param = 'hello' result = main.funcname(test_param) self.assertIsInstance(result, ValueError)