Question 29
Consider a function func, and a set of test cases given below.
Filename: test_file.py
import pytestdef func(x,y): out = x+y**2 return out
class Test_class0(): def test_case1(self): assert func(1,2) == 5
def case_test2(self): assert func(2,3) == 10
def test_case3(self): assert func(6,2) == 8
class Test_class1(): def test_case1(self): assert func(5,2) == 9
def case_test2(self): assert func(4,3) == 14What will be the output on the terminal for the command below?
pytest test_file.py -k Test_class0