Files
mayan-edms/mayan/apps/common/tests/test_api.py
2017-06-16 18:15:12 -04:00

12 lines
343 B
Python

from __future__ import unicode_literals
from django.core.urlresolvers import reverse
from rest_api.tests import BaseAPITestCase
class CommonAPITestCase(BaseAPITestCase):
def test_content_type_list_view(self):
response = self.client.get(reverse('rest_api:content-type-list'))
self.assertEqual(response.status_code, 200)