'Testing whether error 400 is returned when a negative limit is passed to the request to fetch popular channels'

@deferred(timeout=10)
def test_popular_channels_limit_neg(self):

    expected_json = {'error': 'the    limit    parameter    must    be    a    positive    number'}
    return self.do_request('channels/popular?limit=-5', expected_code=400, expected_json=expected_json)
