def make_the_model_public(step):
    resource = world.api.update_model(world.model['resource'],
                                      {'private': False, 'white_box': True})
    world.status = resource['code']
    if world.status != HTTP_ACCEPTED:
        print "unexpected status: %s" % world.status
    assert world.status == HTTP_ACCEPTED
    world.location = resource['location']
    world.model = resource['object']

#@step(r'I check the model status using the model\'s public url')
dataset/ETHPy150Open bigmlcom/python/bigml/tests/create_model_steps.py/make_the_model_public/original