'Testing whether an error 400 is returned when a playlist is edit without a name parameter passed'

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

    post_params = {'description': 'test'}
    expected_json = {'error': 'name    parameter    missing'}
    return self.do_request('channels/discovered/abcd/playlists/1', expected_code=400, post_data=post_params, request_type='POST', expected_json=expected_json)
