django-rest-framework/djangorestframework/tests/package.py
Ewoud Kohl van Wijngaarden 303a1108a7 Strip trailing whitespace
Result of `find -name '*.py' -exec sed -i 's/[ \t]*$//' {} \;`
2011-12-13 14:52:49 +01:00

12 lines
309 B
Python

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