80426cf620
Neutron plugin are able to do field selection on responses (for instance only returning id & name for a resource). However, Pecan does not leverage this capability and always tells the plugin to fetch all fields, doing field selection while processing the response. This patch ensures that pecan send the field list down to the plugin. As a part of this patch TestRequestProcessing has been update to inherit from TestRootController rather than TestResourceController. Inheriting from the latter was causing tests to be executed twice for no reason, beyong using TestResourceController's 'port' attribute, which was however unnecessary as this change proves. Closes-Bug: #1570259 Change-Id: Iac930cd3bb14dfdda78e6a94d2c8bef2b5c4b9a5 |
||
---|---|---|
.. | ||
controllers | ||
hooks | ||
__init__.py | ||
app.py | ||
constants.py | ||
startup.py |