diff options
| author | tom christie tom@tomchristie.com | 2011-03-17 08:51:26 +0000 |
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2011-03-17 08:51:26 +0000 |
| commit | 7856656df0c60d038f2d2c584e3bf9a5420cc801 (patch) | |
| tree | cbe4154257e38be134846f5ec41e8db2eddb794b /djangorestframework | |
| parent | c59e63252f0da33b2160d043ab83c38c0a86d576 (diff) | |
| download | django-rest-framework-7856656df0c60d038f2d2c584e3bf9a5420cc801.tar.bz2 | |
Add VERSION string
Diffstat (limited to 'djangorestframework')
| -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 + |
