Question 2
If the given python program is executed using pytest, then identify the status of the test code.
File name: test1.py
def dec(x): return x-1
def test_answer(): assert dec(3) == 2passed test1.py test_answer - assert 2 == 3
2 Failed
1 passed
Failed test1.py test_answer - assert 2 == 3