'Testing whether the API returns a 200 if the rss feeds are rechecked in your channel'

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

    expected_json = {'rechecked': True}
    my_channel_id = self.create_fake_channel('my    channel', 'this    is    a    short    description')
    channel_obj = self.session.lm.channel_manager.get_my_channel(my_channel_id)
    channel_obj._is_created = True
    channel_obj.create_rss_feed(os.path.join(TESTS_DATA_DIR, 'test_rss_empty.xml'))
    return self.do_request(('channels/discovered/%s/recheckfeeds' % 'fakedispersyid'.encode('hex')), expected_code=200, expected_json=expected_json, request_type='POST')
