| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Improves functional tests for implied-roles by using fixtures
retaining the similarity with other client-functional-tests.
Change-Id: Ia5531964b0064590845d58488f2d43ddf34d8129
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
OpenStack now has dropped support for python 2.6 and lower.
So we don't need to define an assertDictEqual() for python
lower than 2.7.
Further, assertEqual() in testtools is able to handle dicts
comparation, just the same as assertDictEqual() in unittest2.
So we do't need to call assertDictEqual() for dicts any more.
Please also refer to: https://review.openstack.org/#/c/347097/
Change-Id: Ieaf211617c38aa0f9a38625b1009c36bd6a16fba
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Both the V2.0 and V3 clients create managers by passing in an instance
of the _KeystoneAdapter class. Is seems reasonable for the tests to do
the same things to keep everything consistent.
Change-Id: I06d256e71105fdad3f4d182a53a6887617b4cffe
|
| | |
| |
| |
| |
| |
| | |
This is to remove unused LOG to keep code clean.
Change-Id: Ic123f89a341d6cf57c4f26568b626a49c6745045
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In preparation to add functional tests for v3 regions, this
change proposes to detail the method docs, because the tests
need to be based on them.
Change-Id: I8d2169608d4acdc95116f49ea45cb6a15ba3b6e3
Partial-Bug: #1330769
|
| |\ \ \
| |/ / |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Adds functional tests for policies.
Change-Id: I0b217b8c75ce245ab56fdfff17bf337ab9e4164c
|
| |\ \ \
| |/ / |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In preparation to add functional tests for v3 policies, this
change proposes to detail the method docs, because the tests
need to be based on them.
Change-Id: I8fef9c2ec54e38648e1000874c6d2381b6fad576
Partial-Bug: #1330769
|
| |\ \ \
| |/ / |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Adds functional tests for services.
Change-Id: Ied0ad0455799072d1e283024f12ea83e5603bce6
|
| |\ \ \
| |/ /
| | /
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
In preparation to add functional tests for v3 services, this
change proposes to detail the method docs, because the tests
need to be based on them.
Change-Id: Ic7aaadcd8f8d5ebdec0cd908e7cbe4f997a17b54
Partial-Bug: #1330769
|
| |/
|
|
|
|
| |
TrivialFix
Change-Id: Icc9d6c76faaf29cba98111ee82dffc94fc0b2030
|
| |
|
|
|
|
|
| |
This patch fixes some nits left by the review
I3961945a2833fcd4a04c8e2fa294ecd3a12cfbe2.
Change-Id: I8c7c4c926d60d0b0ba44c3c7a42e5eef7be9441c
|
| |
|
|
|
|
|
|
| |
In preparation to add functional tests for v3 projects, this
change proposes to detail the method docs, because the tests
need to be based on them.
Change-Id: I3961945a2833fcd4a04c8e2fa294ecd3a12cfbe2
|
| |
|
|
|
|
|
|
|
| |
Adds functional tests for groups. For now, the tests are created under
a single class. Once we have a gate that runs against LDAP,
we will create a class that only contains readonly tests and
a tox call for it (e.g tox -e functional-readonly).
Change-Id: Ib1db14367b8dc3bd6356aff0dfef1fc573211c6e
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
In preparation to add client functional tests for v3 groups, this
change proposes to detail the method docs, because the tests need
to be based on them.
Change-Id: I12722effee092eed00841215e8f1e9ea2d323628
|
| |/
|
|
|
|
|
| |
This patch fixes comments left by the review
I74bff2728c09e6aafaced97a7836f51e58a81786.
Change-Id: Ic74e8fbde2455280f5affaafb8d989a6b98feb75
|
| |
|
|
|
|
|
|
|
| |
Adds functional tests for domains. For now, the tests are created under
a single class. Once we have a gate that runs against LDAP,
we will create a class that only contains readonly tests and
a tox call for it (e.g tox -e functional-readonly).
Change-Id: I74bff2728c09e6aafaced97a7836f51e58a81786
|
| |
|
|
|
|
|
|
| |
In preparation to add functional tests for v3 domains, this change
proposes to detail the method docs, because the tests need to be
based on them.
Change-Id: I78e62fbd877ba32744fa3587ad2eb497bfb79fc2
|
| |
|
|
|
|
|
|
|
| |
The OS-FEDERATION/projects and OS-FEDERATION/domains APIs are deprecated. We
should switch python-keystoneclient to use the correct API before they are
removed.
Change-Id: Id58a62d538e8d6f70af420bd6c98278522720466
Closes-Bug: 1590037
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds initial set of functional tests for users. For now, all the tests
are created under a single class. Once we have a gate that runs against
LDAP, we will create a class that only contains readonly tests and a
tox call for it (e.g tox -e functional-readonly).
Change-Id: Ie41872a1ad86db6219dd0af47dbc3e2db46bd878
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch handles the EmptyCatalog exception raised from the
keystoneauth1.access.service_catalog.url_for function
when listing projects in the unscoped token case. Also a new
test class, K2KFederatedProjectTests, is added.
Co-Authored-By: Doug Fish <drfish@us.ibm.com>
Change-Id: I37e601cf0126ddae2a3e5ec255f4e4703ecf7682
Closes-Bug: #1471943
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
point to the latest fixtures in keystoneauth so we do not need to
update code in two spots.
Change-Id: I1e9ffdafd4dc06b84bc643e570dbea0132b47540
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In preparation to add functional tests for v3 users, this change
proposes to detail the method docs, because the tests need to be
based on them.
Change-Id: I8f725ca8071e592fdf932bf83f72eaebf588bb6b
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
tempest-lib is deprecated, replace it with tempest.lib.
Closes-Bug: #1553047
Change-Id: Ib03938b133f2aca1e73ec5df5815cff9dfe7b2e2
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch adds the test_federation file with some tests
for Identity Providers, the tests are not supposed to be
exhaustive, they are rather simple and intend to cover
the basic actions in the Identity Provider handling.
More complete tests should be added later.
Change-Id: Ibe618dcd646912060b1785d8d72fd526dd4a083b
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently tox ignores D105.
D105: Missing docstring in magic method.
This change removes it and make keystoneclient docstring compliant with it.
Change-Id: I34dfc164891880425f542f8f8aa3426ec8640c96
|
| |\ \ \ \ \ \
| |/ / / / / |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently tox ignores D200.
D200: One-line docstring should fit on one line with quotes.
This change removes D200 ignore in tox and fix violations.
Change-Id: Icbf8cc1d4f1c00daeedeffe4397369f9e468b191
|
| |\ \ \ \ \ \
| |/ / / / / |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently tox ignores D202 and D203.
D202: No blank lines allowed after function docstring.
D203: 1 blank required before class docstring.
This change removes D202 and D203 ignores in tox and fix violations.
Change-Id: I97ef88c9cfd56774e47f789cbbcf8ccfe85d7737
|
| |\ \ \ \ \ \
| |/ / / / / |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently tox ignores D204, D205, and D207.
D204: 1 blank required after class docstring.
D205: Blank line required between one-line summary and description.
D207: Docstring is under-indented.
This change removes D204, D205, and D207 ignores in tox and fix violations.
Change-Id: Id20d216fbd7647d468859b960088aac61c582d9b
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This has been deprecated for a while and is now not even used anymore.
Indeed, nothing in the code use the attribute
keystoneclient.httpclient.HTTPClient.debug_log.
Furthermore, removing the debug keyword argument from the signature of
keystoneclient.httpclient.HTTPClient.__init__ has no impact since this
signature include **kwargs, which in Python means that you it will
accept any keyword-argument. Any code that would still pass the debug
argument to that method will therefore not notice any difference and
will not fail.
Change-Id: Iaae4febf3f13f6a66ad0e792dc2347b4699f65c0
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently tox ignores D208.
D208: Docstring is over-indented.
This change removes D208 ignore and fix violations.
Change-Id: Ifec21c7602468b2a60727b64d27e7f14d765638c
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently tox ignores D211.
D211: No blank lines allowed before class docstring
This change removes D211 ignore and fix violations.
Change-Id: I79404110896ced7f79999b8c099e2a70b01ec968
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently tox ignores D301.
D301: Use r”“” if any backslashes in adocstring.
This change removes D301 ignore and fix violations.
Change-Id: I9dbe2c9d59e2c2d8585a53840a579a9b9c57a09c
|