@pytest.mark.parametrize("input, expected", [ (1, True), (2, True) ]) def test_check_value(input, expected): assert input > 0 == expected