1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
django-client-reverse/django_client_reverse/tests.py

11 lines
280 B
Python

from rest_framework.test import APITestCase
from django.core.urlresolvers import reverse
class ReverserTestCase(APITestCase):
def setUp(self):
super().setUp()
def test_thing(self):
response = self.client.get(reverse('reverser'))
print(response)