summaryrefslogtreecommitdiff
path: root/quantum/tests/unit/test_extension_extended_attribute.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename Quantum to NeutronMark McClain2013-07-061-155/+0
| | | | | | | | | This change renames everything to Neutron while providing backwards compatible adjustments for Grizzly configuration files. implements blueprint: remove-use-of-quantum Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
* Remove calls to policy.check from plugin logicSalvatore Orlando2013-05-151-0/+17
| | | | | | | | | | | | | | | | | Blueprint make-authz-orthogonal This patch implements part #3 of this blueprint, according to its specification. It does so by allowing the view generator in the API layer to strip off fields which do not satify authorization policies. Also, some checks in unit tests for plugins relied on the capability of the plugin to invoke directly the policy engine. This checks have been removed and replaced by equivalent unit tests. Finally, this patch required changes to most test cases for API extensions in order to ensure the resource attribute map was updated with the extension's attributes Change-Id: I1ef94a8a628d34697254b68d7a539bd1c636876e
* Add common test base class to hold common things.Monty Taylor2013-03-051-2/+2
| | | | | | | There are several common fixtures that every test case wants. Following the pattern in Nova, add a common base test case class to hold these things. Change-Id: I2d2cd91e5051d9cbf230e6f48985d6eddcb7b58a
* Use testtools instead of unittest or unittest2.Monty Taylor2013-02-261-7/+4
| | | | | | | | | | As part of the move towards testr and parallel test running, we start to use testtools and fixtures to make the test suite resilient and more pedantic. Part of blueprint grizzly-testtools Change-Id: I90250de9fe21237db34f6a50b89b15863e270aa5
* Use oslo-config-2013.1b3Mark McLoughlin2013-02-171-1/+1
| | | | | | | | | | | | | | | | | | The cfg API is now available via the oslo-config library, so switch to it and remove the copied-and-pasted version. Add the 2013.1b3 tarball to tools/pip-requires - this will be changed to 'oslo-config>=2013.1' when oslo-config is published to pypi. This will happen in time for grizzly final. Remove the 'deps = pep8' from tox.ini as it means all the other deps get installed with easy_install which can't install oslo-config from the URL. Retain dummy cfg.py file until keystoneclient middleware has been updated (I18c450174277c8e2d15ed93879da6cd92074c27a). Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
* Add support for extended attributes for extension resourcesKaiwei Fan2013-02-141-0/+141
Removed unsed import from quantum/tests/unit/test_extension_extended_attribute.py Address comments. Change update_attributes_map definition/behavior Fixes: bug #1116664 Change-Id: Idc360f5b3b35fb1d40237e1bbce39684508175cf