11 lines
280 B
Python
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)
|