'Testing whether an error 404 is returned when a torrent from a playlist is removed from a non-existent playlist'

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

    channel_cid = 'fakedispersyid'.encode('hex')
    self.create_my_channel('my    channel', 'this    is    a    short    description')
    return self.do_request(('channels/discovered/%s/playlists/1/abcd' % channel_cid), expected_code=404, request_type='DELETE')
