'Testing whether the API returns an error 500 if an unknown torrent is removed from a channel'

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

    self.create_fake_channel('channel', '')
    url = ('channels/discovered/%s/torrents/abcd' % 'fakedispersyid'.encode('hex'))
    return self.do_request(url, expected_code=404, request_type='DELETE')
