diff options
| -rw-r--r-- | djangorestframework/__init__.py | 1 | ||||
| -rw-r--r-- | djangorestframework/tests/package.py | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/djangorestframework/__init__.py b/djangorestframework/__init__.py index e69de29b..522771b5 100644 --- a/djangorestframework/__init__.py +++ b/djangorestframework/__init__.py @@ -0,0 +1 @@ +VERSION="0.1.1" diff --git a/djangorestframework/tests/package.py b/djangorestframework/tests/package.py new file mode 100644 index 00000000..4128333c --- /dev/null +++ b/djangorestframework/tests/package.py @@ -0,0 +1,11 @@ +"""Tests for the djangorestframework package setup.""" +from django.test import TestCase +import djangorestframework + +class TestVersion(TestCase): + """Simple sanity test to check the VERSION exists""" + + def test_version(self): + """Ensure the VERSION exists.""" + djangorestframework.VERSION + |
