forked from pylint-dev/pylint-django
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass arguments of test.sh to test_func/pytest
Previously you had to modify scripts/test.sh to add command line arguments to pytest. Now you can add them directly when calling test.sh. This is useful if you, for example, want to filter the executed tests using `-k`.
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
python pylint_django/tests/test_func.py -v | ||
python pylint_django/tests/test_func.py -v "$@" |