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

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

    self.session.lm.channel_manager = ChannelManager(self.session)
    channel_cid = 'fakedispersyid'.encode('hex')
    expected_json = {'error': UNKNOWN_CHANNEL_RESPONSE_MSG}
    return self.do_request((('channels/discovered/' + channel_cid) + '/rssfeeds/http%3A%2F%2Frssfeed.com%2Frss.xml'), expected_code=404, expected_json=expected_json, request_type='PUT')
