magnum/magnum/tests/unit/api
Yosef Hoffman 66cbd8c821 Always expand Baymodel fields
In baymodel (https://github.com/openstack/magnum/blob/master/magnum/
api/controllers/v1/baymodel.py), we have an unset exception list:

            baymodel.unset_fields_except(['uuid', 'name', 'image_id',
                                          'apiserver_port', 'coe'])

In order for the new "--fields" option [1] to work better, this patch will
remove the expand option so that all fields are included by default.

[1] https://review.openstack.org/#/c/286950/

Change-Id: I1adffca9a7c6e013bed38530036dfc0aed918fdc
Closes-Bug: #1579236
2016-05-12 14:27:30 -04:00
..
controllers Always expand Baymodel fields 2016-05-12 14:27:30 -04:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
base.py Load wsgi app(api) with paste.deploy 2016-03-08 09:25:44 +08:00
test_app.py Fix order of arguments in assertEqual 2015-10-10 14:24:44 +08:00
test_attr_validator.py Add mesos_slave_isolation validate 2016-05-09 02:40:02 +00:00
test_hooks.py Adds standardised error messages 2016-03-02 16:40:23 +01:00
test_servicegroup.py Fix invalid import order 2016-02-07 22:54:41 -08:00
test_validation.py Merge "Improved tests for updating bay properties" 2016-03-08 07:13:44 +00:00
utils.py Return correct object type 2016-02-29 14:33:07 +08:00