2021-04-10 15:59:17 +02:00

16 lines
428 B
Python

from django.test import TestCase
# Create your tests here.
from rest_framework import status
from rest_framework.test import APITestCase
class AccountTests(APITestCase):
def test_create_account(self):
"""
Ensure we can create a new account object.
"""
url = '/test/'
response = self.client.get(url, format='json')
self.assertEqual(response.status_code, status.HTTP_200_OK)