I am not sure how folks feel about this, but I think os-testr
makes failures a little easier to debug when tests fail. For
one thing you get stdout/stderr in the test output. Running a
single test is a little different:
tox -e py27 -- --regex keystoneauth1.tests.unit.identity.test_token
Change-Id: Iea05633af3708c5e9443d86c8ddf947e68c0bebe
There is still the possibility of a dependency in session, however this
is the main usage. Defines a new option type schema.
Change-Id: Ie508dff449a92c9ea01c46285c10888135e93a97
Setup test runners to run unit tests by default and add a stub
functional test that we can get gating.
Change-Id: I6627925ab63340c880adc7c938a0b74faff47bc7
Implements: bp functional-testing
With the latest version of oslotest, we can now take advantage
of a common oslo_debug_helper script.
We can now remove our own homebrewed version, minor changes to
tox.ini were needed.
Change-Id: I907f7203aefedc9b33c3dfbfecc9793e273a4a8f
Address some issues that came up because of hacking upgrade.
But ignoring H904 since the slashes are valid, as they are in
comments, not code.
Change-Id: Ie8a94fc71632e4130c2ec663a5c6d3f2042f8263
Closes-Bug: #1328469
Each of these wants to come first. Python does not have a dep solver,
so order is actually important.
Change-Id: I10450de1839c41d729b606a04a944507d2427987
keystoneclient only needs lxml for saml support, which is an
optional contrib piece. Since keystoneclient is massiely used, and
as lxml is a big beefy depend that requires C compilers, move
lxml to test-requriements.
Change-Id: I01b6b702fb8f414884cb1da306d5b95406e86513
HTTPretty was great particularly when we were having to deal with both
httplib and requests together. Since that time the library itself has
caused a number of problems including backwards incompatible changes,
broken releases and some dependency issues that make it difficult to
package. There are also issues with memcache tests or anything else
that also tries to use the socket.
requests-mock does a very similar job, with a very similar interface
however it targets only requests and so doesn't have the same socket
issues and will be a much easier dependency on packagers.
keystoneclient is the first of a number of clients that will do the
changeover.
Change-Id: Ida6e5feb71b6ff6662fb24b9fa6535b039c99d96
Provide a pattern for auth plugins to load themselves from a config
object. The first user of this will be auth_token middleware however it
is not likely to be the only user.
By doing this in an exportable way we are defining a single config file
format for specifying how to load a plugin for all services. We also
provide a standard way of retrieving a plugins options for loading via
other mechanisms.
Blueprint: standard-client-params
Change-Id: I353b26a1ffc04a20666e76f5bd2f1e6d7c19a22d
Add support for creating request and access tokens,
and to authorize request tokens. Also adding basic CRUD for
consumer entities.
DocImpact
Change-Id: Ib9d0b223f202a7e33cbad1602da5be7479cd3284
implements: bp add-oauth-support
There were some parts that had invalid RST in their docstrings
which caused warnings and errors to be generated.
Related-Bug: #1278662
Change-Id: Ibb53e6f49b5fa100fa6ecfe47331f9a70729d03b
Update two requirement related files with command: sort-i {filename}.
This make these files more readable, can find the libraries easily.
Change-Id: I5969ef37d02814bf2c09761f133464c5a02f0d6b
The 0.7.1 release has a fix for the parse_querystring function, which raised a
TypeError on Python 3.3. See:
5c6e77615f
This helps fix some tests on Python3.3.
Change-Id: I8f28c5dfdcb25b2c131a4b8866547025064caac6
Sync the global requirements to pin sphinx. This addresses an issue
where Sphinx 1.2 is not building documents correctly and causing
check/gate to fail.
Change-Id: I92af6481d2fdfaea6eda4eaffb0388eeaea8cb9f
hacking 0.8 brings us bunch of python 3 compat rules.
Fix the python 3 compat issues to make this landable.
Change-Id: I0fbefefce92b506146e2bb833ffb0bd984b1c097
Partial-Bug: #1257301
Allow newer versions of Hacking as well,
which permits further checks to be used for gating.
Suppress H202 for now to pass tests.
Change-Id: I75ab26df94b5dd8b8b05f4ada2ca6831d8584a75
In order to make the transition to mox free world,
mox needs to replaced with mox3 which is python3 compatible.
Change-Id: Id18928c7ac93b510a4867acb03896899fe1c13b0
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Create a function out of the standard request call that handles common
headers like user agent and logging.
This makes future changes easier to digest.
Change-Id: Ia25f997df64efdce27c8fb815e544922940145c3
Apparently this was always supposed to be required for py26 tests with
testresources however only recently does a newer version actually fail
without it.
Change-Id: I9c7bc83d75a964152ad5772554f9693706a2a2d4