mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Add VERSION string
This commit is contained in:
parent
c59e63252f
commit
7856656df0
|
@ -0,0 +1 @@
|
|||
VERSION="0.1.1"
|
11
djangorestframework/tests/package.py
Normal file
11
djangorestframework/tests/package.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
"""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
|
||||
|
Loading…
Reference in New Issue
Block a user