This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 2e605fe7..7fc7455b 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,6 +24,7 @@ before_script: | |
| script: | |
| - flake8 | |
| +- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 2e605fe7..7fc7455b 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,6 +24,7 @@ before_script: | |
| script: | |
| - flake8 | |
| +- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 2e605fe7..7fc7455b 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,6 +24,7 @@ before_script: | |
| script: | |
| - flake8 | |
| +- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 2e605fe7..7fc7455b 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,6 +24,7 @@ before_script: | |
| script: | |
| - flake8 | |
| +- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/usaspending_api/common/decorators.py b/usaspending_api/common/decorators.py | |
| new file mode 100644 | |
| index 00000000..f6f1aab8 | |
| --- /dev/null | |
| +++ b/usaspending_api/common/decorators.py | |
| @@ -0,0 +1,23 @@ | |
| +from django.utils.decorators import method_decorator | |
| +from usaspending_api.common.exceptions import InvalidParameterException | |
| + | |
| + |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 2e605fe7..7fc7455b 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,6 +24,7 @@ before_script: | |
| script: | |
| - flake8 | |
| +- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 2e605fe7..7fc7455b 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,6 +24,7 @@ before_script: | |
| script: | |
| - flake8 | |
| +- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 2e605fe7..7fc7455b 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,6 +24,7 @@ before_script: | |
| script: | |
| - flake8 | |
| +- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 7fc7455b..2e605fe7 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,7 +24,6 @@ before_script: | |
| script: | |
| - flake8 | |
| -- pytest --cov=usaspending_api | |
| - python manage.py migrate |
This file contains hidden or 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
| diff --git a/.travis.yml b/.travis.yml | |
| index 7fc7455b..2e605fe7 100644 | |
| --- a/.travis.yml | |
| +++ b/.travis.yml | |
| @@ -24,7 +24,6 @@ before_script: | |
| script: | |
| - flake8 | |
| -- pytest --cov=usaspending_api | |
| - python manage.py migrate |