summaryrefslogtreecommitdiff
path: root/novaclient/tests/unit/fixture_data/server_groups.py
Commit message (Collapse)AuthorAgeFilesLines
* Update hacking versionZhijunWei2019-01-041-2/+2
| | | | | | | 1. update hacking version to latest 2. fix the pep8 failed Change-Id: I484a40fe3cb868d223a807edcd3e20f5e0ebdf4e
* Add limit and offset to server-groups listint32bit2016-12-141-0/+39
| | | | | | | | | | | Via `limit` and `offset` arguments, Nova API now support pagination to display server groups. But our novaclient hasn't implemented yet in current version. This patch introduce `--limit` and `--offset` options to `nova server-group-list` subcommand, which can make up for the above issue. Change-Id: I371d4c2e74a8e6bfc8a7529de35668490cb0e44d Closes-Bug: #1648835
* Clean up requests-mock usageJamie Lennox2016-10-051-10/+10
| | | | | | | | | | | In line with other clients testing we've found that having the requests-mock fixture at self.requests can be misleading for new people as it looks like you're calling requests itself. Also make use of some of the new features of requests-mock like query parsing, json handling, method names. Change-Id: Id61b88c53478d49f91c3f880ed5b90d638051ba0
* Add return-request-id-to-caller function(3/5)Takashi NATSUME2016-01-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Add return-request-id-to-caller function to resources and resource managers in the following files. The methods in the resource class and resource manager return a wrapper class that has 'request_ids' property. The caller can get request ids of the callee via the property. * novaclient/v2/keypairs.py * novaclient/v2/limits.py * novaclient/v2/networks.py * novaclient/v2/quota_classes.py * novaclient/v2/quotas.py * novaclient/v2/security_group_default_rules.py * novaclient/v2/security_group_rules.py * novaclient/v2/security_groups.py * novaclient/v2/server_groups.py * novaclient/v2/services.py * novaclient/v2/usage.py * novaclient/v2/versions.py Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com> Change-Id: I9203f70a0eef5686b590fbff35563f2cf8b6f586 Implements: blueprint return-request-id-to-caller
* Remove all imports from oslo namespaceAndrey Kurilin2015-04-201-1/+1
| | | | | | oslo namespace is deprecated Change-Id: I345eb210222d8e973b99f27821099f52883ab27d
* Move unit tests into unit test directoryJoe Gordon2015-01-271-0/+74
In order to pave the way for functional testing, move existing unit tests into a directory labeled unit. A subsequent patch will add a directory for functional tests. Change-Id: I0adb8b9f14451acb382c725d31f5387b4b6d82bb