-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install dependencies for tests based on package install (#951)
* Install dependencies for tests based on package install Parsons dependencies can be installed in two different ways. `pip install -r requirements.txt` is equivalent to pip install parsons UNLESS the environment variable `PARSONS_LIMITED_DEPENDENCIES` is set, in which case the dependencies are installed based on the explicit configuration in `setup.py`. There can be drift between what is defined in requirements.txt and what is defined in `setup.py`. These changes ensure that both sets of dependencies are used to run tests, ensuring alignment between test environments and actual usage. * Fix package dependencies when using PARSONS_LIMITED_DEPENDENCIES
- Loading branch information
1 parent
8bdc3a6
commit a13b2ca
Showing
5 changed files
with
25 additions
and
13 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Testing Requirements | ||
requests-mock==1.5.2 | ||
flake8==4.0.1 | ||
black==22.12.0 | ||
testfixtures==6.18.5 | ||
pytest==7.1.1 | ||
pytest-datadir==1.3.0 | ||
pytest-mock>=3.0.0 |
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