forked from BYU-Hydroinformatics/tethysapp-tethys_app_store
-
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.
API Updates and Tests (100% Coverage) (#13)
- Loading branch information
Showing
18 changed files
with
1,526 additions
and
255 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
[pytest] | ||
DJANGO_SETTINGS_MODULE=tethys_portal.settings | ||
python_files = test_*.py *_tests.py | ||
addopts = --ignore-glob=*workspaces/* --cov --cov-report term-missing --disable-warnings | ||
addopts = --ignore-glob=*workspaces/* --cov --cov-report term-missing --disable-warnings | ||
|
||
# When running tests, you need to use 'pytest --reuse-db' |
Large diffs are not rendered by default.
Oops, something went wrong.
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,11 +1,12 @@ | ||
#!/bin/bash | ||
|
||
echo "Running Mamba Install" | ||
if micromamba; then | ||
MAMBA_COMMAND=micromamba | ||
else | ||
MAMBA_COMMAND=mamba | ||
|
||
$MAMBA_COMMAND install -y --freeze-installed -q -c $2 -c tethysplatform -c conda-forge $1 | ||
|
||
echo "Mamba Install Complete" | ||
#!/bin/bash | ||
|
||
echo "Running Mamba Install" | ||
if hash mamba; then | ||
MAMBA_COMMAND=micromamba | ||
else | ||
MAMBA_COMMAND=mamba | ||
fi | ||
|
||
$MAMBA_COMMAND install -y --freeze-installed -q -c $2 -c tethysplatform -c conda-forge $1 | ||
|
||
echo "Mamba Install Complete" |
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,10 +1,11 @@ | ||
#!/bin/bash | ||
|
||
echo "Running Mamba remove" | ||
if micromamba; then | ||
if hash micromamba; then | ||
MAMBA_COMMAND=micromamba | ||
else | ||
MAMBA_COMMAND=mamba | ||
fi | ||
|
||
$MAMBA_COMMAND remove -y --force $1 | ||
echo "Mamba Remove Complete" | ||
echo "Mamba Remove Complete" |
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,10 +1,11 @@ | ||
#!/bin/bash | ||
|
||
echo "Running Mamba Update" | ||
if micromamba; then | ||
if hash micromamba; then | ||
MAMBA_COMMAND=micromamba | ||
else | ||
MAMBA_COMMAND=mamba | ||
fi | ||
|
||
$MAMBA_COMMAND install -y -q -c $2 -c tethysplatform -c conda-forge $1 | ||
echo "Mamba Update Complete" |
Oops, something went wrong.