mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-04 23:44:07 +03:00
12 lines
310 B
Python
12 lines
310 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
|
||
|
|