chapeau/tests/tests_unit.py

12 wiersze
258 B
Python
Czysty Zwykły widok Historia

from django.test import TestCase, Client
2018-08-11 16:01:27 +00:00
from django_kepi.views import User
2018-08-06 13:44:35 +00:00
class UserTests(TestCase):
2018-08-11 16:01:27 +00:00
def test_collections(self):
c = Client()
2018-08-11 16:01:27 +00:00
activity = c.get('/collections/0').json()
raise ValueError(str(activity))