Files
mayan-edms/mayan/apps/common/tests/test_api.py
2017-07-21 00:25:18 -04:00

12 lines
330 B
Python

from __future__ import unicode_literals
from django.urls 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)