Merge pull request #12271 from bluetech/restore-bdd

testing: restore integration testing with pytest-bdd
This commit is contained in:
Ran Benita 2024-05-02 10:27:08 +03:00 committed by GitHub
commit c3e9bd4518
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View File

@ -1,9 +1,7 @@
anyio[curio,trio]==4.3.0 anyio[curio,trio]==4.3.0
django==5.0.4 django==5.0.4
pytest-asyncio==0.23.6 pytest-asyncio==0.23.6
# Temporarily not installed until pytest-bdd is fixed: pytest-bdd==7.1.2
# https://github.com/pytest-dev/pytest/pull/11785
# pytest-bdd==7.0.1
pytest-cov==5.0.0 pytest-cov==5.0.0
pytest-django==4.8.0 pytest-django==4.8.0
pytest-flakes==4.0.5 pytest-flakes==4.0.5

View File

@ -134,11 +134,9 @@ changedir = testing/plugins_integration
deps = -rtesting/plugins_integration/requirements.txt deps = -rtesting/plugins_integration/requirements.txt
setenv = setenv =
PYTHONPATH=. PYTHONPATH=.
# Command temporarily removed until pytest-bdd is fixed:
# https://github.com/pytest-dev/pytest/pull/11785
# pytest bdd_wallet.py
commands = commands =
pip check pip check
pytest bdd_wallet.py
pytest --cov=. simple_integration.py pytest --cov=. simple_integration.py
pytest --ds=django_settings simple_integration.py pytest --ds=django_settings simple_integration.py
pytest --html=simple.html simple_integration.py pytest --html=simple.html simple_integration.py