Skip to content

Commit

Permalink
Updated unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BobsProgrammingAcademy committed May 17, 2023
1 parent cfa28d8 commit 4b9dd0b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions auctions/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,12 @@ def setUp(self):
def test_login_view(self):
response = self.client.get(reverse('login'))
self.assertEqual(response.status_code, 200)


class ActiveAuctionsRequestTestCase(TestCase):
def setUp(self):
self.client = Client()

def test_active_auctions_view(self):
response = self.client.get(reverse('active_auctions_view'))
self.assertEqual(response.status_code, 200)

0 comments on commit 4b9dd0b

Please sign in to comment.