summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/identity
Commit message (Collapse)AuthorAgeFilesLines
* Functional tests: Identity v2 and DevStackDean Troyer2017-05-021-6/+17
| | | | | | | | DevStack master (as of 01May2017) no longer sets up an Identity v2 admin endpoint, so we need to skip those tests going forward and cover them via a specific leagacy job. This does the detect-and-skip. Change-Id: Ib9ab32b6bc84ec7d13508094ad6f83995d8d7bc1
* Merge "Modify error handling for role and group commands"Jenkins2017-02-131-21/+4
|\
| * Modify error handling for role and group commandsHuanxuan Ao2017-02-091-21/+4
| | | | | | | | | | | | | | | | | | | | if command failed, we usually raise exception, if command success, sometimes there is not any output (such as set, add commands) So modify the error handling for role and group commands. Change-Id: I1c0f86c04dcedd9c0d725fd73f3436be9da75ee0
* | Fix --parents and --children options in project showRui Chen2017-02-091-0/+13
|/ | | | | | | | Options "--parents" and "--children" don't work in "project show" command, fix the issue and add related unit and functional tests. Change-Id: Id9965267a037442f1077f8e1929d0527981f643d Closes-Bug: #1499657
* Merge "Fix Identity functional tests to not require OS_AUTH_URL"Jenkins2017-01-262-4/+4
|\
| * Fix Identity functional tests to not require OS_AUTH_URLDean Troyer2017-01-252-4/+4
| | | | | | | | | | | | | | | | The Identity functional tests had an assumption that OS_AUTH_URL would always be present, but when running the functional tests and only setting OS_CLOUD (using clouds.yaml for creds) this fell down. Change-Id: Ie589d301f866b06d9f8be8deeb953e03bc01cf09
* | change assert_show_fields to not fail on new fieldsSteve Martinelli2017-01-252-9/+8
|/ | | | | | | | | | | | | | | | | whenever a resource adds a field (which is allowed in our API guidelines), OSC functional tests fail, because we validate the resource keys to a hardcoded list. instead, this change proposes that the logic of assert_show_fields is flipped around, so our hardcoded list acts as a minimum set of values that must appear in the resource. as part of this change, some fields were remove from the constants since they were not actually in the returned data. also, delete unused code `assert_show_structure`. Change-Id: I8c0f0e80ea472f9c7f93c5f1f0ae52048e6cd7da
* add domain id to expected IdP fields, unskip testsSteve Martinelli2017-01-072-8/+2
| | | | | | | | commit Id18b8b2fe853b97631bc990df8188ed64a6e1275 added domain IDs to an Identity provider, our functional tests have a hard match on what to expect when 'showing' an idp, the domain ID was missing. Change-Id: I87a1fd762918551c533668a9aa94f7c6268b79d6
* skip tests related to SDK 0912 and keystone IdP changeSteve Martinelli2017-01-071-1/+9
| | | | | | | the gate is super wedged, i will skip tests and unskip them as necessary. Change-Id: Ia4469738c876ec1293f91b96dcc7d15365f4f37d
* Use assertGreater replace assertTruezheng yin2016-09-231-1/+1
| | | | | | we can use assertGreater(a,b) to replace assertTrue(a>b) Change-Id: Idd92a99bf5fd25785a47645d46bcfcad23ed870a
* move all functional tests to tests moduleSteve Martinelli2016-09-0925-0/+1931
functional tests should be grouped with other tests (unit and integration tests). as part of this commit the "common" module was renamed to just "base", this was done for simplicity. the post_test_hook.sh file was also copied to the functional module since it should live there. a separate change to the infra repo will be made to call the new location, once that is merged we can remove the old one (a new change will also be posted for that) Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede