Commit Graph

52 Commits

Author SHA1 Message Date
TerryHowe
ec16789cf1 Convert project to os-testr
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
2015-09-03 06:52:54 -06:00
OpenStack Proposal Bot
91add7bafd Updated from global requirements
Change-Id: I8d6655c54d9b16425976ea1a64091cc34a137e23
2015-08-27 04:14:54 +00:00
OpenStack Proposal Bot
22e1f8814a Updated from global requirements
Change-Id: Idffcc61a71a4fa0577dfcf6af576bdb0d88f50fe
2015-08-13 02:13:21 +00:00
Jamie Lennox
5e74fed6b5 Remove oslo_config from auth plugin loading
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
2015-08-06 10:08:49 +10:00
OpenStack Proposal Bot
ac6c043b47 Updated from global requirements
Change-Id: I568930c5f4cb3beb5cd564dcad8d54b5117ed5af
2015-08-04 00:45:12 +00:00
OpenStack Proposal Bot
c7e3c76948 Updated from global requirements
Change-Id: I173ffab52426ddf51ab7e97f5124c682b59961ef
2015-07-29 03:46:54 +00:00
OpenStack Proposal Bot
0120a214ab Updated from global requirements
Change-Id: Ie826264fdb2b6eeddbc9c4b888e10c36ecb56ea7
2015-07-22 04:56:05 +00:00
Morgan Fainberg
41d5507608 Remove lxml test-requirement
Remove the lxml test-requirement, it is not used.

Change-Id: I25e1121318eff43c6eef34695351ab9ee8af469d
2015-05-28 01:06:43 -07:00
Doug Hellmann
ea0bcb5370 Uncap library requirements for liberty
Change-Id: Iedcc83c838ba91de90ab089728e6d0cde371394d
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
2015-04-16 18:13:09 +00:00
OpenStack Proposal Bot
1f8d47e0bf Updated from global requirements
Change-Id: I499261729a8342a7dd733b3d4ff18cb5b86e946f
2015-03-26 11:01:31 +00:00
Jamie Lennox
c419425c85 Create functional test base
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
2015-02-13 17:55:34 +11:00
Brant Knudson
da69f7fc85 Move to hacking 0.10
Release notes:
http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0

H803 is no longer checked by hacking per the release notes.

H904 is no longer checked by hacking.

Change-Id: Ifaf62839a4b6da62a3b380396158b463c1381026
2015-01-13 16:43:53 -06:00
OpenStack Proposal Bot
f002ac0a84 Updated from global requirements
Change-Id: I951b387904be3c4f14fbdfe157ecc1d14a79498a
2014-12-16 19:36:34 +00:00
OpenStack Proposal Bot
423c50279a Updated from global requirements
Change-Id: I52962d1bf30fef1491b66cc1a5cb3ea8c32d3c57
2014-11-05 08:35:31 +00:00
OpenStack Proposal Bot
1f9da2b28f Updated from global requirements
Change-Id: I09acde6af1c49862ed456db9b75e064ef354494e
2014-10-28 22:33:03 +00:00
Jenkins
63300488c9 Merge "Use oslo_debug_helper and remove our own version" 2014-10-27 14:01:41 +00:00
Steve Martinelli
ffaac84e55 Use oslo_debug_helper and remove our own version
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
2014-10-22 15:22:18 -04:00
OpenStack Proposal Bot
3824554018 Updated from global requirements
Change-Id: Ib34efa77d08998f2c8ee5902623da990262da0e0
2014-10-21 12:15:33 +00:00
Steve Martinelli
04054b0ddc Update hacking to 0.9.x
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
2014-09-21 02:44:37 -04:00
OpenStack Proposal Bot
fadf2cabf7 Updated from global requirements
Change-Id: I67a599e362685f7990175fb5668e6909d670a225
2014-09-19 18:22:52 +00:00
Dolph Mathews
07396ec3e0 warn against sorting requirements
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Closes-Bug: 1365061
2014-09-03 11:50:55 -05:00
Monty Taylor
d71da4ee82 Unsort pbr and hacking in requirements files
Each of these wants to come first. Python does not have a dep solver,
so order is actually important.

Change-Id: I10450de1839c41d729b606a04a944507d2427987
2014-08-20 17:09:04 -05:00
Monty Taylor
19fdd12d73 Remove lxml as a forced depend
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
2014-08-15 17:10:23 -07:00
Jamie Lennox
5b9437d563 Convert httpretty to requests-mock
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
2014-07-30 05:04:25 +10:00
Jenkins
5d66e29820 Merge "Use oslosphinx to generate doc theme" 2014-07-29 09:50:42 +00:00
OpenStack Proposal Bot
4a29b012de Updated from global requirements
Change-Id: Ic3b93f1556d23833eb0c82146c55c1e940bb155f
2014-07-28 19:39:29 +00:00
Steve Martinelli
cb61ceb82e Use oslosphinx to generate doc theme
Since oslosphinx is out, let's use it instead of hosting our own
themes and static files.

Change-Id: I5b507d35c90d0c0411d7751935b0e53328ca9311
2014-07-24 21:43:37 -04:00
Jamie Lennox
2136d5896a Plugin loading from config objects
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
2014-07-07 14:15:10 +10:00
OpenStack Proposal Bot
2ae3a7f7f3 Updated from global requirements
Change-Id: Ibb290d0f2d616b7730914bfc829a7f555ba0b688
2014-06-27 22:13:42 +00:00
OpenStack Proposal Bot
d7ab05ba28 Updated from global requirements
Change-Id: I0804468699cd7af0b3b520c07fd0aeff809bd2b1
2014-06-18 16:11:59 +00:00
Steve Martinelli
34059d404e OAuth request/access token and consumer support for oauth client API
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
2014-05-07 20:02:27 +00:00
OpenStack Jenkins
26b05be8b7 Updated from global requirements
Change-Id: Icc5f3cdf0cfe9a1566ff5efafc85471381e3622d
2014-04-11 04:16:51 +00:00
Brant Knudson
748d5bcc39 Fix doc build errors
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
2014-03-13 19:35:54 -05:00
OpenStack Jenkins
1ef80e0b8b Updated from global requirements
Change-Id: I8df925dc23eaae9d6866ad9dffbb4f255fedf1ab
2014-03-10 14:52:06 +00:00
Cyril Roelandt
01b9369467 HTTPretty: Bump to 0.8.0
The 0.8.0 release brings full support for Python 3.

Change-Id: I7237c986efffa0474f7d76bca69a08a26b21adbd
Closes-Bug: 1249165
2014-02-06 15:45:16 -06:00
Jenkins
210d353ae4 Merge "Sync with global requirements" 2014-01-26 19:21:45 +00:00
Eric Guo
be191efc13 Sort items in requirement related files
Update two requirement related files with command: sort-i {filename}.
This make these files more readable, can find the libraries easily.

Change-Id: I5969ef37d02814bf2c09761f133464c5a02f0d6b
2014-01-21 12:35:36 +08:00
Sascha Peilicke
b48d5d8b9a Sync with global requirements
Change-Id: I366b3a23bcb82203b347fa13f0385024bae62cab
2014-01-16 09:19:37 +01:00
Cyril Roelandt
291d8409ba HTTPretty: update to 0.7.1
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
2013-12-12 22:46:23 +01:00
Morgan Fainberg
bc1c25428e Sync global requirements to pin sphinx to sphinx>=1.1.2,<1.2
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
2013-12-10 13:58:57 -08:00
Sergio Cazzolato
fdfd55b3c6 Bump hacking to 0.8
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
2013-11-29 19:24:50 -05:00
Brant Knudson
d56ff1e20b Add testresources test requirement
testresources wasn't a test requirement, so it couldn't be used
in test code.

Change-Id: I278e56f5158800e7873ad03a9d6a3db2ea8bad7c
2013-11-16 12:14:24 -06:00
OpenStack Jenkins
97bf7a457e Updated from global requirements
Change-Id: I4f26d3a8790c799e5c1f7f81031406e0c57545f9

Change-Id: Ica7315effe308bd739e90f885849fac27a3c542b

Change-Id: I2cc2769b89bd040064408faea30c448350fa5f00
2013-10-10 20:26:53 +00:00
Clint Byrum
5fb752b709 Change Babel to a runtime requirement
Fixes bug #1226736

Change-Id: Id0ab5a1b74688601f4f8dd1c2613f4cee93401ab
2013-09-17 14:33:50 -07:00
Dirk Mueller
f74422ef38 Allow Hacking 0.7.x or later
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
2013-09-02 21:34:59 +02:00
Chuck Short
c922823e25 python3: Transition to mox3 instead of mox
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>
2013-08-23 12:14:22 -04:00
Jamie Lennox
0227207771 Extract basic request call
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
2013-08-12 14:19:23 +10:00
Monty Taylor
8419ae30db Updated from global requirements
Change-Id: If137689e5b9008c51cea16d41e648f0df490a247
2013-08-09 16:41:53 -03:00
Dirk Mueller
0a090b8b76 Merge from Oslo-Incubator
This brings in the latest Python 3.x related
fixes from Oslo.

Change-Id: If0207d3b29038483098632586613bba9aeb803f7
2013-08-06 18:02:53 +10:00
Jamie Lennox
1d0be07e7e Add discover to test-requirements.
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
2013-07-19 09:54:50 +10:00