Skip to content

Instantly share code, notes, and snippets.

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
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
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
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
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
+
+
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
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
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
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
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