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
django==5.0.4
pytest-asyncio==0.23.6
# Temporarily not installed until pytest-bdd is fixed:
# https://github.com/pytest-dev/pytest/pull/11785
# pytest-bdd==7.0.1
pytest-bdd==7.1.2
pytest-cov==5.0.0
pytest-django==4.8.0
pytest-flakes==4.0.5

View File

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