Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
Clue88 committed Mar 4, 2023
1 parent 6044283 commit c687858
Showing 2 changed files with 12 additions and 0 deletions.
Empty file.
12 changes: 12 additions & 0 deletions backend/tests/monitor/test_views.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit c687858

Please sign in to comment.