'Testing whether the API returns a 404 and error if the url parameter does not exist in the existing feeds'

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

    expected_json = {'error': 'this    url    is    not    added    to    your    RSS    feeds'}
    self.create_fake_channel('my    channel', 'this    is    a    short    description')
    return self.do_request((('channels/discovered/' + 'fakedispersyid'.encode('hex')) + '/rssfeeds/http%3A%2F%2Frssfeed.com%2Frss.xml'), expected_code=404, expected_json=expected_json, request_type='DELETE')
