

def test_invalid_items_per_page_gives_default_pagination(self):
    events_url = reverse('all_events')
    events_url += '?items_per_page=not_an_integer'
    response = self.client.get(events_url)
    view_events = self.context['all_events']
    assert (len(view_events) < 50)

dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py TestEventViews.test_invalid_items_per_page_gives_default_pagination/VarMisuse@34/70 `response`->`self`