1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

add djangorestframework

This commit is contained in:
poet
2012-07-14 14:25:17 +08:00
parent 823b437091
commit f29db5b649
56 changed files with 8249 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
"""Tests for the status module"""
from django.test import TestCase
from djangorestframework import status
class TestStatus(TestCase):
"""Simple sanity test to check the status module"""
def test_status(self):
"""Ensure the status module is present and correct."""
self.assertEquals(200, status.HTTP_200_OK)
self.assertEquals(404, status.HTTP_404_NOT_FOUND)