Question 24
Examine the following Python test file:
Filename: math_tests.py
import pytest
def multiply(a, b): return a * b
def divide(a, b): if b == 0: raise ValueError("Cannot divide by zero") return a / b
@pytest.mark.unitdef test_multiply_positive(): assert multiply(3, 4) == 12
@pytest.mark.integrationdef test_divide_normal(): assert divide(10, 2) == 5.0
@pytest.mark.slow@pytest.mark.integrationdef test_complex_calculation(): result = divide(multiply(6, 7), 2) assert result == 21.0@pytest.mark.unitdef test_multiply_negative(): assert multiply(-2, 3) == -6Consider the following pytest command output:
========= 1 passed, 3 deselected in 0.02s =========Which of the following pytest commands would produce the output shown above?