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

12 lines
280 B
Python
Raw Normal View History

2015-12-09 22:02:27 +00:00
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)