def METHOD_NAME(client):
    response = client.get('/api/projects/mindsdb/models/home_rentals_model.1', follow_redirects=True)
    model_ver_1 = response.get_json()
    response = client.get('/api/projects/mindsdb/models/home_rentals_model', follow_redirects=True)
    model_active_ver = response.get_json()
    expected_model = model_ver_1.copy()
    expected_model['active'] = True
    expected_model['error'] = None
    expected_model['fetch_data_query'] = 'SELECT * FROM demo_data.home_rentals'
    expected_model['name'] = 'home_rentals_model'
    expected_model['predict'] = 'rental_price'
    expected_model['version'] = 1
    assert model_ver_1 == expected_model
    assert model_active_ver == expected_model