Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Clue88 committed Feb 10, 2023
1 parent 6bf6cc2 commit ba97b6e
Show file tree
Hide file tree
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 ba97b6e

Please sign in to comment.