magnum/magnum/tests/unit
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
..
api Always expand Baymodel fields 2016-05-12 14:27:30 -04:00
common Fix container-create memory not passed 2016-04-18 08:13:27 +00:00
conductor Merge "Add docker registry support for swarm" 2016-05-05 00:57:02 +00:00
db Allow show public baymodel 2016-03-22 10:51:50 +08:00
objects Merge "limit access to certificate and container:create" 2016-03-05 18:39:10 +00:00
service Decoupling magnum service from periodic task 2015-11-30 18:52:48 +00:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
template Improve yml template test case. 2015-11-24 16:54:41 +08:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_hacking.py Add hacking check to ensure not use xrange() 2016-03-23 11:19:59 +05:30
test_opts.py Introduce unit test for genconfig 2015-09-03 09:02:36 +09:00