'Testing whether an error 404 is returned when a non-existent playlist is edited'

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

    post_params = {'name': 'test', 'description': 'test'}
    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' % channel_cid), expected_code=404, request_type='POST', post_data=post_params)
