Führen Sie mehrere Testfälle PyTest aus
@pytest.mark.parametrize("input, expected", [
(1, True),
(2, True)
])
def test_check_value(input, expected):
assert input > 0 == expected
Tense Tarantula