aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/tests/package.py')
-rw-r--r--rest_framework/tests/package.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/rest_framework/tests/package.py b/rest_framework/tests/package.py
new file mode 100644
index 00000000..db133b09
--- /dev/null
+++ b/rest_framework/tests/package.py
@@ -0,0 +1,11 @@
+"""Tests for the rest_framework package setup."""
+from django.test import TestCase
+import rest_framework
+
+class TestVersion(TestCase):
+ """Simple sanity test to check the VERSION exists"""
+
+ def test_version(self):
+ """Ensure the VERSION exists."""
+ rest_framework.VERSION
+