Code de la présentation pytest
parents
No related branches found
No related tags found
Showing
- .gitignore 21 additions, 0 deletions.gitignore
- requirements.in 5 additions, 0 deletionsrequirements.in
- requirements.txt 95 additions, 0 deletionsrequirements.txt
- tests/ex1/test_add.py 22 additions, 0 deletionstests/ex1/test_add.py
- tests/ex2/test_sport_list.py 22 additions, 0 deletionstests/ex2/test_sport_list.py
- tests/ex3/test_empty_db.py 30 additions, 0 deletionstests/ex3/test_empty_db.py
- tests/ex3/test_not_empty_db.py 61 additions, 0 deletionstests/ex3/test_not_empty_db.py
- tests/ex4/conftest.py 39 additions, 0 deletionstests/ex4/conftest.py
- tests/ex4/test_sqlite_db.py 43 additions, 0 deletionstests/ex4/test_sqlite_db.py
- tests/ex5/test_custom.py 37 additions, 0 deletionstests/ex5/test_custom.py
- tests/ex5/test_skip.py 39 additions, 0 deletionstests/ex5/test_skip.py
- tests/ex5/test_xfail.py 29 additions, 0 deletionstests/ex5/test_xfail.py
- tests/ex6/conftest.py 44 additions, 0 deletionstests/ex6/conftest.py
- tests/ex6/test_fixture_parametrization.py 23 additions, 0 deletionstests/ex6/test_fixture_parametrization.py
- tests/ex6/test_hook.py 58 additions, 0 deletionstests/ex6/test_hook.py
- tests/ex6/test_parametrize_1.py 18 additions, 0 deletionstests/ex6/test_parametrize_1.py
- tests/ex6/test_parametrize_2.py 18 additions, 0 deletionstests/ex6/test_parametrize_2.py
- tests/ex6_broken-parametrization/conftest.py 15 additions, 0 deletionstests/ex6_broken-parametrization/conftest.py
- tests/ex6_broken-parametrization/test_hook.py 25 additions, 0 deletionstests/ex6_broken-parametrization/test_hook.py
- tests/ex6_wrong-solution/conftest.py 7 additions, 0 deletionstests/ex6_wrong-solution/conftest.py
.gitignore
0 → 100644
requirements.in
0 → 100644
requirements.txt
0 → 100644
# | ||
# This file is autogenerated by pip-compile with Python 3.10 | ||
# by the following command: | ||
# | ||
# pip-compile --resolver=backtracking requirements.in | ||
# | ||
asttokens==2.2.1 | ||
# via stack-data | ||
backcall==0.2.0 | ||
# via ipython | ||
black==23.3.0 | ||
# via -r requirements.in | ||
build==0.10.0 | ||
# via pip-tools | ||
click==8.1.3 | ||
# via | ||
# black | ||
# pip-tools | ||
decorator==5.1.1 | ||
# via ipython | ||
exceptiongroup==1.1.1 | ||
# via pytest | ||
executing==1.2.0 | ||
# via stack-data | ||
flake8==6.0.0 | ||
# via -r requirements.in | ||
iniconfig==2.0.0 | ||
# via pytest | ||
ipython==8.14.0 | ||
# via -r requirements.in | ||
jedi==0.18.2 | ||
# via ipython | ||
matplotlib-inline==0.1.6 | ||
# via ipython | ||
mccabe==0.7.0 | ||
# via flake8 | ||
mypy-extensions==1.0.0 | ||
# via black | ||
packaging==23.1 | ||
# via | ||
# black | ||
# build | ||
# pytest | ||
parso==0.8.3 | ||
# via jedi | ||
pathspec==0.11.1 | ||
# via black | ||
pexpect==4.8.0 | ||
# via ipython | ||
pickleshare==0.7.5 | ||
# via ipython | ||
pip-tools==6.13.0 | ||
# via -r requirements.in | ||
platformdirs==3.8.0 | ||
# via black | ||
pluggy==1.2.0 | ||
# via pytest | ||
prompt-toolkit==3.0.38 | ||
# via ipython | ||
ptyprocess==0.7.0 | ||
# via pexpect | ||
pure-eval==0.2.2 | ||
# via stack-data | ||
pycodestyle==2.10.0 | ||
# via flake8 | ||
pyflakes==3.0.1 | ||
# via flake8 | ||
pygments==2.15.1 | ||
# via ipython | ||
pyproject-hooks==1.0.0 | ||
# via build | ||
pytest==7.4.0 | ||
# via -r requirements.in | ||
six==1.16.0 | ||
# via asttokens | ||
stack-data==0.6.2 | ||
# via ipython | ||
tomli==2.0.1 | ||
# via | ||
# black | ||
# build | ||
# pyproject-hooks | ||
# pytest | ||
traitlets==5.9.0 | ||
# via | ||
# ipython | ||
# matplotlib-inline | ||
wcwidth==0.2.6 | ||
# via prompt-toolkit | ||
wheel==0.40.0 | ||
# via pip-tools | ||
# The following packages are considered to be unsafe in a requirements file: | ||
# pip | ||
# setuptools |
tests/ex1/test_add.py
0 → 100644
tests/ex2/test_sport_list.py
0 → 100644
tests/ex3/test_empty_db.py
0 → 100644
tests/ex3/test_not_empty_db.py
0 → 100644
tests/ex4/conftest.py
0 → 100644
tests/ex4/test_sqlite_db.py
0 → 100644
tests/ex5/test_custom.py
0 → 100644
tests/ex5/test_skip.py
0 → 100644
tests/ex5/test_xfail.py
0 → 100644
tests/ex6/conftest.py
0 → 100644
tests/ex6/test_fixture_parametrization.py
0 → 100644
tests/ex6/test_hook.py
0 → 100644
tests/ex6/test_parametrize_1.py
0 → 100644
tests/ex6/test_parametrize_2.py
0 → 100644
tests/ex6_broken-parametrization/conftest.py
0 → 100644
tests/ex6_wrong-solution/conftest.py
0 → 100644
Please register or sign in to comment