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

12 lines
310 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):
"""Simple sanity test to check the VERSION exists"""
def test_version(self):
"""Ensure the VERSION exists."""
djangorestframework.VERSION