This commit is contained in:
j3d1 2023-11-23 23:17:20 +01:00
parent 0f911589ca
commit 5bdfe313de
65 changed files with 2219 additions and 77 deletions

View file

View file

View file

@ -0,0 +1,13 @@
from django.test import TestCase, Client
client = Client()
class IssueApiTest(TestCase):
def test_issues(self):
response = client.get('/api/2/tickets/')
self.assertEqual(response.status_code, 200)
self.assertEqual(response.json(), [])