-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lint: updating code style with `make black` * adding pytest related package with ``` pipenv install --dev pytest pipenv install --dev pytest-cov ``` * wsgi: fixing DeprecationWarning when running tests there was this warning: ``` DeprecationWarning: 'werkzeug.urls.url_unquote' is deprecated and will be removed in Werkzeug 2.4. Use 'urllib.parse.unquote' instead. ``` * tests: using `redirect_stdout` to redirect stdout to a readable source * tests_utilities: fixing deprecation warning ``` DeprecationWarning: Please use assertRegex instead of assertRegexpMatches ``` * tests_utilities: removing try/finally in test_certify_sanity_checks * tests_placebo: : fixing deprecation warning ``` DeprecationWarning: Please use assertRaisesRegex instead of assertRaisesRegexp ``` * zappa(core): fixing deprecation warning ``` DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead ``` * tests_docs: fixing deprecation warning ``` DeprecationWarning: Please use assertEqual instead of assertEquals ``` * tests: moving from nose to pytest keeping coverage results (aggregated) and duration display * tests: removing and uninstalling all nose references
- Loading branch information
1 parent
055db2e
commit 7a5e153
Showing
11 changed files
with
165 additions
and
151 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,6 @@ htmlcov/ | |
.coveragerc | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
|
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
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,5 +1,5 @@ | ||
#! /bin/bash | ||
nosetests --with-coverage --cover-package=zappa | ||
pytest --cov=zappa | ||
|
||
# For a specific test: | ||
# nosetests tests.tests:TestZappa.test_lets_encrypt_sanity -s | ||
# pytest tests/tests.py::TestZappa::test_lets_encrypt_sanity |
Oops, something went wrong.