diff --git a/backend/tests/monitor/__init__.py b/backend/tests/monitor/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/backend/tests/monitor/test_views.py b/backend/tests/monitor/test_views.py new file mode 100644 index 0000000..aeb4185 --- /dev/null +++ b/backend/tests/monitor/test_views.py @@ -0,0 +1,12 @@ +from django.test import TestCase +from django.urls import reverse +from rest_framework.test import APIClient + + +class PullsViewTestCase(TestCase): + def setUp(self): + self.client = APIClient() + + def test_monitor_pulls(self): + resp = self.client.get(reverse("monitor:pulls")) + self.assertEqual(resp.status_code, 200, resp.content)