Skip to content

Commit

Permalink
All tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
MithishR committed Apr 12, 2024
1 parent 08c4215 commit 0d6179f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Django/communicado/pages/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,9 @@ def test_event_info_pages(self):
self.assertContains(response, '<div class="event-category">Category: {}</div>'.format(event.category))
self.assertContains(response, '<div class="event-artist">Artist: {}</div>'.format(event.artist))
self.assertContains(response, '<div class="event-price">Price: {}</div>'.format(event.price))
event_id = event.pk
url = reverse('eventinfo', kwargs={'event_ID': event_id})
self.assertContains(response, f'<a href="{url}" class="btn btn-outline-secondary">View</a>')
self.assertContains(response, 'class="button btn-outline-secondary">View</a>')
self.assertContains(response, 'class="button btn-outline-secondary">Delete Booking</button>')
self.assertContains(response, 'Are you sure you want to delete this booking?')



Expand Down

0 comments on commit 0d6179f

Please sign in to comment.