aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/tests/package.py')
-rw-r--r--djangorestframework/tests/package.py11
1 files changed, 11 insertions, 0 deletions
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
+