Question 6
Consider the following function to be tested and test functions given in the Python code snippet below.
test_file.py
import pytest
def square(x): sum = 0 for counter in range(x): sum += x return sum
@pytest.mark.marker1def testcase_1(): assert square(13) == 144
@pytest.mark.marker2def testcase_2(): assert square(6) == 6
@pytest.mark.marker3def testcase_3(): assert square(3) == 9On running this file on the terminal using pytest, the summary of the output is;
============ 1 passed, 2 deselected, 3 warnings in 0.02s ============What command will result into the outcome given above?