| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
In the process of unification of the clients code we should
reuse common functionality from Oslo.
bp common-client-library-2
Change-Id: I0e027c33ee42b6de032d33269caeea33e7837f40
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keystone is now deprecating the V2 API in favor of the V3 API.
The ceilometer client is now using the keystone session to
delegate the discovery of the version that is going to be used,
this eliminates the need of updating the client every time there
is a new API version.
DocImpact
blueprint support-keystone-v3-api
Change-Id: I6ebacce7adf70f24bdede9b920853ab9851071cf
|
| |
|
|
|
|
|
|
|
|
| |
Currently, OpenStack Proposal Bot tries to update requirements with
global requirements, while the upgraded hacking has introduced some
new rules which are not fully handled by current code.
This patch fixes some simple rules which are quite straight-forward.
Change-Id: If8334f69fb1ad34fbbd6ad898e0e92eb3f81e95a
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
There are some test code use try...finally block to catch or ignore
the stdout message. The job can be done by mock too, and it is cleaner.
Change-Id: I0c29382e7bcd0b7f399565b26f27315f7e17a8fc
|
| |/
|
|
|
|
|
|
|
| |
Currently, if we run `tox -epy27`, we will get an useless stderr
message 'HTTPUnauthorized (HTTP 401)', which is triggered on purpose
by a test. It should be mocked because it provides no such useful message.
Change-Id: I009310257741a34fe966d6d745de3c6cf58e0feb
Closes-Bug: #1323480
|
| |
|
|
|
|
|
|
| |
There are some exceptions defined in exc module, which is introduced
two years ago, and it is marked as DEPRECATED in the same time. It
should be removed for now, since there are no longer used.
Change-Id: I039575f37b0e6d1c30e447b74d61b8cd0b6bbd29
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
When --debug is specified to the CLI don't just print the simple error
message but actually reraise that error.
Change-Id: Iac624dbb3490d29e32a9ea251c14766186df31db
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
This is not needed anymore since the logging is handled by
six.moves/httplib.
Change-Id: I4de3cfd8d8d3c08b38e39fde12172bdb4de0cea0
Closes-Bug: 1272986
|
| |/
|
|
|
|
|
|
|
| |
In the process of unification of the clients code we should use
composition to allow easier replacement with common HTTPClient.
bp common-client-library-2
Change-Id: I98d2bc89d5b1a36c30771923cd1cda7925e563d5
|
| |
|
|
|
|
| |
Compared to mox3, mock is tested much more in various Python 3 versions.
Change-Id: I9e83aa622257c36ff47c79f6b491c1b074d2245d
|
| |
|
|
|
|
|
|
|
|
| |
six.StringIO
This is an fake file object for textual data. It is an alias for
StringIO.StringIO in Python 2 and io.StringIO in Python 3.
Partial Implement: blueprint py33-support
Change-Id: I76c05041565614241eea7b7595e4503c88211ee8
|
| |
|
|
| |
Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530
|
|
|
tests.* implies an incorrect global package name. Additionally,
consuming code can benefit from being able to choose to consume
test code and fixtures.
Change-Id: I7ba2b3ba1c2a99410b54fc40b48dfe2fc53eb79a
|