'Testing whether the API returns a 404 if no channel has been created when rechecking rss feeds'

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

    self.session.lm.channel_manager = ChannelManager(self.session)
    expected_json = {'error': UNKNOWN_CHANNEL_RESPONSE_MSG}
    return self.do_request(('channels/discovered/%s/recheckfeeds' % 'fakedispersyid'.encode('hex')), expected_code=404, expected_json=expected_json, request_type='POST')
