<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ceilometerclient.git/ceilometerclient/tests/unit, branch 2.6.2</title>
<subtitle>opendev.org: openstack/python-ceilometerclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/'/>
<entry>
<title>Set code and details on HTTPException</title>
<updated>2016-10-11T09:10:10+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2016-10-06T14:39:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=9d9b477708fdce08db162a9bf3723cf7ee0df267'/>
<id>9d9b477708fdce08db162a9bf3723cf7ee0df267</id>
<content type='text'>
Even the HTTPException is unknown for ceilometer we should set the code
and print it with the details.

Closes-bug: #1626404
Change-Id: Ib244d8822f7a1ebc1b8ec1b95d13b20bbb69ece0
(cherry picked from commit b8a78396b273c23ba7a633d98365a5dfc969b1f2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even the HTTPException is unknown for ceilometer we should set the code
and print it with the details.

Closes-bug: #1626404
Change-Id: Ib244d8822f7a1ebc1b8ec1b95d13b20bbb69ece0
(cherry picked from commit b8a78396b273c23ba7a633d98365a5dfc969b1f2)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix from_response method to process response from requests</title>
<updated>2016-09-07T09:54:24+00:00</updated>
<author>
<name>Andrey Kurilin</name>
<email>akurilin@mirantis.com</email>
</author>
<published>2016-09-07T09:39:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=090e5ffc691c5d40e45ab0c20dc88032a0987b20'/>
<id>090e5ffc691c5d40e45ab0c20dc88032a0987b20</id>
<content type='text'>
SessionClient uses requests library. It's response class doesn't have
"status" property[1], so in case of any errors(with status code &gt; 400),
from_response method is called and raises AttributeError.

Also, HTTPClient implementation uses requests lib by default[2](if 'http'
argument was not transmitted), so from_response method will raise
AttributeError too.

[1] - http://docs.python-requests.org/en/master/api/#requests.Response.status_code
[2] - https://github.com/openstack/python-ceilometerclient/blob/2.6.0/ceilometerclient/openstack/common/apiclient/client.py#L99-L100

Change-Id: Id8fb2f386e8101951716f30a6365c9aa15bd4b24
Closes-Bug: #1620974
(cherry picked from commit 1b1917ab9b56fe92235ce336d3df3e7a8c1c81d2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SessionClient uses requests library. It's response class doesn't have
"status" property[1], so in case of any errors(with status code &gt; 400),
from_response method is called and raises AttributeError.

Also, HTTPClient implementation uses requests lib by default[2](if 'http'
argument was not transmitted), so from_response method will raise
AttributeError too.

[1] - http://docs.python-requests.org/en/master/api/#requests.Response.status_code
[2] - https://github.com/openstack/python-ceilometerclient/blob/2.6.0/ceilometerclient/openstack/common/apiclient/client.py#L99-L100

Change-Id: Id8fb2f386e8101951716f30a6365c9aa15bd4b24
Closes-Bug: #1620974
(cherry picked from commit 1b1917ab9b56fe92235ce336d3df3e7a8c1c81d2)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Correct the parameters's position of assertEqual"</title>
<updated>2016-08-08T15:20:45+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-08-08T15:20:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=7c6cc05ff0e9e95313384303deee69ef11929bc1'/>
<id>7c6cc05ff0e9e95313384303deee69ef11929bc1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct the parameters's position of assertEqual</title>
<updated>2016-07-29T03:08:36+00:00</updated>
<author>
<name>xiaozhuangqing</name>
<email>zhuangqing.xiao@easystack.cn</email>
</author>
<published>2016-07-29T02:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=481cd7d33bf5f91c39888fa695238c562eda7945'/>
<id>481cd7d33bf5f91c39888fa695238c562eda7945</id>
<content type='text'>
assertEqual using should be assertEqual(expected, actual)

misplace have two impacts:
1.giving confusing messages when some tests failed.
2.mislead other developer,new test modules may follow these wrong pattern

see Partial-Bug  https://bugs.launchpad.net/oslo.config/+bug/1604213

Change-Id: I4467d5efb1eed9f4c473c947c93afcfaf9be6ea6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
assertEqual using should be assertEqual(expected, actual)

misplace have two impacts:
1.giving confusing messages when some tests failed.
2.mislead other developer,new test modules may follow these wrong pattern

see Partial-Bug  https://bugs.launchpad.net/oslo.config/+bug/1604213

Change-Id: I4467d5efb1eed9f4c473c947c93afcfaf9be6ea6
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove keystoneclient dependency</title>
<updated>2016-07-28T14:53:43+00:00</updated>
<author>
<name>Julien Danjou</name>
<email>julien@danjou.info</email>
</author>
<published>2016-07-28T14:52:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=6ca1f270fdc8f04309577c2a9966cf9826595c3e'/>
<id>6ca1f270fdc8f04309577c2a9966cf9826595c3e</id>
<content type='text'>
Change-Id: I3589eca8fd6a581e57524cffa8a8f1278358f38c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3589eca8fd6a581e57524cffa8a8f1278358f38c
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for Python 3.5</title>
<updated>2016-07-27T13:27:30+00:00</updated>
<author>
<name>Julien Danjou</name>
<email>julien@danjou.info</email>
</author>
<published>2016-07-27T13:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=f0faf477afe22f691e586900dcd8abaaccbb767c'/>
<id>f0faf477afe22f691e586900dcd8abaaccbb767c</id>
<content type='text'>
This fixes a test that check too much of the output formatting. Just
test that some of the values we expect are there.

Change-Id: I43a2c2d017bc99ef045ff2e4c5943f1607343ec1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a test that check too much of the output formatting. Just
test that some of the values we expect are there.

Change-Id: I43a2c2d017bc99ef045ff2e4c5943f1607343ec1
</pre>
</div>
</content>
</entry>
<entry>
<title>base.Resource not define __ne__() built-in function</title>
<updated>2016-07-04T07:08:14+00:00</updated>
<author>
<name>yuyafei</name>
<email>yu.yafei@zte.com.cn</email>
</author>
<published>2016-07-04T08:23:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=f97de95a638347993545686ac9c225d831838340'/>
<id>f97de95a638347993545686ac9c225d831838340</id>
<content type='text'>
Class base.Resource defines __eq__() built-in function, but does
not define __ne__() built-in function, so self.assertEqual works
but self.assertNotEqual does not work at all in this test case in
python2. This patch fixes it by defining __eq__() built-in function
of class base.Resource. Also fixes spelling errors:resoruces.

Change-Id: I8a4e09e277a14a16105feab81ba8d07ceee5b47f
Closes-Bug: #1586268
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Class base.Resource defines __eq__() built-in function, but does
not define __ne__() built-in function, so self.assertEqual works
but self.assertNotEqual does not work at all in this test case in
python2. This patch fixes it by defining __eq__() built-in function
of class base.Resource. Also fixes spelling errors:resoruces.

Change-Id: I8a4e09e277a14a16105feab81ba8d07ceee5b47f
Closes-Bug: #1586268
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Switch to keystoneauth"</title>
<updated>2016-06-23T10:33:57+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-06-23T10:33:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=196d3ba8509acfcade69d095d8126a64c45fe880'/>
<id>196d3ba8509acfcade69d095d8126a64c45fe880</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore aodh_endpoint argument</title>
<updated>2016-06-07T13:11:33+00:00</updated>
<author>
<name>rabi</name>
<email>ramishra@redhat.com</email>
</author>
<published>2016-06-06T08:48:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=0a1a8d2580b45fcaecf2114e5453af7198dd7fd2'/>
<id>0a1a8d2580b45fcaecf2114e5453af7198dd7fd2</id>
<content type='text'>
When using keystone session, we seem to pass all **kwargs to
SessionClient for metering. We should drop the 'aodh_endpoint'
from kwargs.

Change-Id: Iaf28d4a525d49f62a0ae635dc1102cc1f0308c74
Closes-Bug: #1589425
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using keystone session, we seem to pass all **kwargs to
SessionClient for metering. We should drop the 'aodh_endpoint'
from kwargs.

Change-Id: Iaf28d4a525d49f62a0ae635dc1102cc1f0308c74
Closes-Bug: #1589425
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to keystoneauth</title>
<updated>2016-06-01T12:24:03+00:00</updated>
<author>
<name>Clenimar Filemon</name>
<email>clenimar.filemon@gmail.com</email>
</author>
<published>2016-05-31T19:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=39ee8fbc087011602bcb37daa877e3dd2926a0a2'/>
<id>39ee8fbc087011602bcb37daa877e3dd2926a0a2</id>
<content type='text'>
keystoneclient.auth is deprecated in favour of keystoneauth. This patch
updates Ceilometerclient accordingly.

Change-Id: Id4b14cbccfabfeaa5322f7ae5702261d0ed9cca2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
keystoneclient.auth is deprecated in favour of keystoneauth. This patch
updates Ceilometerclient accordingly.

Change-Id: Id4b14cbccfabfeaa5322f7ae5702261d0ed9cca2
</pre>
</div>
</content>
</entry>
</feed>
