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