Skip to content

Commit

Permalink
added test for need-answer-count
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Oppenheimer authored and Aaron Oppenheimer committed Jul 24, 2024
1 parent 07512df commit 6b6353c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agenda/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ def test_agenda_types(self):
response = c.get(f'/plans/{int(AgendaLayoutChoices.NEED_RESPONSE)}/0')
self.assertEqual(response.content.decode('ascii').count("xyzzy"), 18)

# while we're here, check the needs response counter URL
response = c.get(f'/schedule/needplans')
self.assertEqual(response.content.decode('ascii'),"18")

# now make sure that a gig that is canceled is moved to the "plans" set even
# though it has no plans...
gigs[1].status = GigStatusChoices.CANCELED
Expand Down

0 comments on commit 6b6353c

Please sign in to comment.