Commit Graph

21 Commits

Author SHA1 Message Date
OpenStack Proposal Bot 603697a325 Updated from global requirements
Change-Id: Ib81815a6f0d5a07e28d832f199fd993dd7dd6759
2015-09-29 17:56:14 +00:00
OpenStack Proposal Bot 9284eb4253 Updated from global requirements
Change-Id: I47c54849f6687927ac1eb25081907438c7ea2b56
2015-08-10 01:10:04 +00:00
Darja Shakhray ec0f2dfd85 Enable flake8 checks
This commit enables new flake8 checks:
* E265  block comment should start with '# '
* H405  multi line docstring summary not separated with an empty line
* E123  closing bracket does not match indentation of opening bracket's line
* H238  old style class declaration, use new style (inherit from `object`)
* E128  continuation line under-indented for visual indent
and makes related changes in the code.

Change-Id: Ie993afc930f6b74d7a990bcaa9fc0e9f5ba1585c
2015-07-21 17:08:27 +03:00
rico.lin e976032a95 Remove usage of assert_called_once on Mock objects
mock 1.1.0 was released on 10 July 2015 which prevents users from using
non-existent assertion methods. This broke the test in the diff.

Co-Authored-By: Ian Cordasco <graffatcolmingov@gmail.com>
Closes-Bug: #1473454
Change-Id: I162b76bbd7d96c96787a8dd8f9642ca1c80c596a
2015-07-10 15:57:51 -05:00
OpenStack Proposal Bot 0f9aa99114 Updated from global requirements
Change-Id: I61ff841e2224fbd127e695bb11ca884f541f76a8
2015-06-30 22:45:17 +00:00
OpenStack Proposal Bot b10e8938f9 Updated from global requirements
Change-Id: I19b9915bedacec60fc584a7437a9b46a80a26bdc
2015-06-22 08:27:41 +00:00
Jamie Lennox 5ce9c7dc96 Make glanceclient accept a session object
To make this work we create a different HTTPClient that extends the
basic keystoneclient Adapter. The Adapter is a standard set of
parameters that all clients should know how to use like region_name and
user_agent. We extend this with the glance specific response
manipulation like loading and sending iterables.

Implements: bp session-objects
Change-Id: Ie8eb4bbf7d1a037099a6d4b272cab70525fbfc85
2015-06-11 13:11:56 +00:00
Louis Taylor dfa98ab04c Updated from global requirements
Also update hacking to

    hacking>=0.10.0,<0.11

to get around breakage with pbr dependency.

Change-Id: Ic5e2d8df6993397ee4d1b087d96cc6667bd72acc
2015-06-05 15:23:33 +00:00
Stuart McLaren 71d97836f8 Create functional test base
This will allow adding 'check-glanceclient-dsvm-functional' tests in
the gate, similar to:

 * check-novaclient-dsvm-functional
 * check-keystoneclient-dsvm-functional
 * check-neutronclient-dsvm-functional
 * etc

Change-Id: Id970db52695db7dc53206aa05fe573995b57aa78
2015-04-18 17:43:01 +00:00
Doug Hellmann 8b4456a220 Uncap library requirements for liberty
Change-Id: I5760af63dba65fadb21065d822e1f9c1865c328a
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
2015-04-16 18:13:00 +00:00
Jamie Lennox 02b1a05226 Replace mox in tests with requests-mock
requests-mock is a tool specifically designed for mocking responses from
the requests library. Use that instead of handling mox and mock
ourselves.

Change-Id: Ifd855b8d6c1b401e29ac210593c48d2da87a571b
2015-03-28 14:16:00 +11:00
OpenStack Proposal Bot aebbcff100 Updated from global requirements
Change-Id: Ifae019c18ea0ff32ed2c3cc11e8f2f3ea12ff1d4
2015-01-09 18:35:33 +00:00
OpenStack Proposal Bot 61e4ebaa80 Updated from global requirements
Change-Id: I6dc3b647b806b863418d4894f9abe535b3d40ac2
2014-09-13 07:27:57 +00:00
Steve Martinelli 7736349b1e Update theme for docs
The current developer docs theme used is out of sync with the other
openstack projects. This patch will update the docs to provide a more
consistent look and feel when using developer docs

Change-Id: I4a59f194bd0fc8c86c6d3c6b8cadb839a5158935
2014-07-24 20:42:56 -04:00
OpenStack Proposal Bot 938031ad52 Updated from global requirements
Change-Id: I3f2a517c6a02285c804adcee95cb66f1f6502744
2014-06-19 01:12:29 +00:00
OpenStack Jenkins c18536eacb Updated from global requirements
Change-Id: Ifb298bbb37a94e1d4f5e537b7f4eb086da4c95a9
2014-03-05 19:29:33 +00:00
Dirk Mueller e4d1961c92 python3: Switch to mox3 instead of mox
In order to transition to a python 3.x compatible world,
lets switch to mox3 which is python 3.x compatible drop-in
replacement of mox.

Change-Id: Id971475f0e92900689d6784ffc55ae5fe63d9fe4
2014-01-16 14:12:40 +01:00
OpenStack Jenkins c1563a75e4 Updated from global requirements
Change-Id: Icb2526c2b9f300430b1a2b84189a0a3646bca627
2013-12-10 22:21:31 +00:00
Monty Taylor 1f2eef510f Updated from global requirements
Change-Id: I2e2bd3a38458e1307bcc0410da74dc76c0a5987a
2013-08-10 10:49:11 -07:00
Monty Taylor 2c84b58a3d Remove explicit distribute depend.
Causes issues with the recent re-merge with setuptools. Advice from
upstream is to stop doing explicit depends.

Change-Id: I75916a4fe2f7cf2eb8db2187c03895438aa58efd
2013-06-11 11:29:06 -07:00
Zhenguo Niu 40460cbeb1 Rename requires files to standard names.
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.

Change-Id: Ic220b54de5ce7c15f442b8ffcb97cd03c2344f9a
Fixes: bug #1179008
2013-05-29 17:26:33 +08:00