django-rest-framework/djangorestframework/tests/package.py

12 lines
309 B
Python
Raw Normal View History

2011-03-17 11:51:26 +03:00
"""Tests for the djangorestframework package setup."""
from django.test import TestCase
import djangorestframework
2011-12-29 17:31:12 +04:00
class TestVersion(TestCase):
2011-03-17 11:51:26 +03:00
"""Simple sanity test to check the VERSION exists"""
def test_version(self):
"""Ensure the VERSION exists."""
djangorestframework.VERSION