Merge branch 'main' of https://github.com/TanyaAgarwal28/pytest into config.getini_returns_none

This commit is contained in:
TanyaAgarwal28 2023-10-11 11:08:50 +05:30
commit b144d05029
1 changed files with 11 additions and 0 deletions

11
testing/test_python.py Normal file
View File

@ -0,0 +1,11 @@
import pytest
@pytest.mark.parametrize("a", [1, 2, 10, 11, 2, 1, 12, 11,2_1])
def test_params(a):
print('a:', a)
assert a > 0
@pytest.mark.parametrize("a", [1, 2, 10, 11, 2, 1, 12, 11])
def test_params(a):
print('a:', a)
assert a > 0