Skip to content

Commit

Permalink
test: exclude some helper methods from nosetests
Browse files Browse the repository at this point in the history
why: mark_logs_test_start helper methods is executed by nosetests
  • Loading branch information
fblackburn1 committed Aug 14, 2023
1 parent b076575 commit 1d2e0a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion integration_tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ build-provd:
docker build -t wazoplatform/wazo-provd $(PROVD_DIR)

test:
nosetests -x
# Explicit match to avoid to include AssetLaunchingTestCase helper methods
# This constraint must be removed when tests will be migrated to pytest
nosetests --match '^[Tt]est' -x

egg-info:
cd .. && python setup.py egg_info
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ passenv =
MANAGE_DB_DIR
commands =
make test-setup
nosetests -v {posargs}
# Explicit match to avoid to include AssetLaunchingTestCase helper methods
# This constraint must be removed when tests will be migrated to pytest
nosetests --match '^[Tt]est' -v {posargs}
allowlist_externals =
make

Expand Down

0 comments on commit 1d2e0a4

Please sign in to comment.