<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ceilometerclient.git/ceilometerclient/tests/unit, branch 2.2.0</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>Merge "Don't copy the auth_plugin for aodh"</title>
<updated>2016-01-12T11:01:03+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-01-12T11:01:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=25517d0226e69bbabf9679c80445746a5cab846d'/>
<id>25517d0226e69bbabf9679c80445746a5cab846d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't copy the auth_plugin for aodh</title>
<updated>2016-01-07T15:30:14+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2016-01-06T08:44:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=71cb6b3d0ee1f393c2bafee13aa2f013cc82f77d'/>
<id>71cb6b3d0ee1f393c2bafee13aa2f013cc82f77d</id>
<content type='text'>
We must not copy a keystone session object or auth_plugin object.

This change simplifies the aodh redirection code by:
* sharing the keystone session object between aodh and ceilometer client
* creating a new AuthPlugin() for the aodh client instead of copying the ceilometer one
  and then change its content.

Closes-bug: #1531452

Change-Id: I2b2195e32c5dd74136237f7166c9c0d325434611
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We must not copy a keystone session object or auth_plugin object.

This change simplifies the aodh redirection code by:
* sharing the keystone session object between aodh and ceilometer client
* creating a new AuthPlugin() for the aodh client instead of copying the ceilometer one
  and then change its content.

Closes-bug: #1531452

Change-Id: I2b2195e32c5dd74136237f7166c9c0d325434611
</pre>
</div>
</content>
</entry>
<entry>
<title>Use assertTrue/False instead of assertEqual(T/F)</title>
<updated>2016-01-07T07:08:00+00:00</updated>
<author>
<name>Swapnil Kulkarni (coolsvap)</name>
<email>me@coolsvap.net</email>
</author>
<published>2016-01-07T07:07:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=c4abadfee8de8f64f91e4579b0f58fc7b4943462'/>
<id>c4abadfee8de8f64f91e4579b0f58fc7b4943462</id>
<content type='text'>
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).

Change-Id: Iabf8d017b47025309f186afb5e30b8ad990c2448
Closes-Bug:#1512207
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).

Change-Id: Iabf8d017b47025309f186afb5e30b8ad990c2448
Closes-Bug:#1512207
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace assertEqual(None, *) with assertIsNone in tests</title>
<updated>2015-12-17T13:06:01+00:00</updated>
<author>
<name>Shuquan Huang</name>
<email>huang.shuquan@99cloud.net</email>
</author>
<published>2015-12-17T13:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=a63f15272c61d5b3ab54d00da1209e4d6bf6bcad'/>
<id>a63f15272c61d5b3ab54d00da1209e4d6bf6bcad</id>
<content type='text'>
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Change-Id: I36db8bdcb67b8cc0a3bf1f063b4a7b42955b100b
Closes-bug: #1280522
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Change-Id: I36db8bdcb67b8cc0a3bf1f063b4a7b42955b100b
Closes-bug: #1280522
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicated assert</title>
<updated>2015-12-03T06:17:43+00:00</updated>
<author>
<name>Chaozhe.Chen</name>
<email>chaozhe.chen@easystack.cn</email>
</author>
<published>2015-12-03T06:09:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=c6cb6b11bcf41436abd92ac88ae47c04cb003393'/>
<id>c6cb6b11bcf41436abd92ac88ae47c04cb003393</id>
<content type='text'>
Change-Id: I7159129411254a940122a88941a642feb6d72ef2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7159129411254a940122a88941a642feb6d72ef2
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix the parameter order of assertEqual in ceilometerclient"</title>
<updated>2015-12-02T08:05:50+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-12-02T08:05:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=193d6c9a747260d19f076963b6500fc3a9db460c'/>
<id>193d6c9a747260d19f076963b6500fc3a9db460c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the parameter order of assertEqual in ceilometerclient</title>
<updated>2015-12-02T02:06:00+00:00</updated>
<author>
<name>Steve Wilkerson</name>
<email>sw5822@att.com</email>
</author>
<published>2015-12-02T02:06:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=7c673951d9f4bf0baecceace27f2fb800ab7604c'/>
<id>7c673951d9f4bf0baecceace27f2fb800ab7604c</id>
<content type='text'>
On assertEqual, the parameter order should be (expected, actual).
Some of the tests in ceilometer client were written with invalid
parameter orders.  This patch fixes those tests.

Change-Id: I9a7a81bdb0d9224f2b9cd53b7fb6eaf5ed7a582a
Partial-Bug: 1277104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On assertEqual, the parameter order should be (expected, actual).
Some of the tests in ceilometer client were written with invalid
parameter orders.  This patch fixes those tests.

Change-Id: I9a7a81bdb0d9224f2b9cd53b7fb6eaf5ed7a582a
Partial-Bug: 1277104
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Resource.__eq__ mismatch semantics of object equal</title>
<updated>2015-12-01T11:57:15+00:00</updated>
<author>
<name>Rui Chen</name>
<email>chenrui.momo@gmail.com</email>
</author>
<published>2015-11-28T10:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=7c18662e748c51645497d2ecd6372e24eee1adf8'/>
<id>7c18662e748c51645497d2ecd6372e24eee1adf8</id>
<content type='text'>
The __eq__ of apiclient.base.Resource will return True,
if the two objects have same id, even if they have different
other attributes value. The behavior is weird and don't
match the semantics of object equal. The objects that have
different value should be different objects.
Fix this issue and add some test cases in this patch.

Change-Id: Ieb28aa179bda945686e0d9c2f341c373ce2bab74
Closes-Bug: #1499369
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The __eq__ of apiclient.base.Resource will return True,
if the two objects have same id, even if they have different
other attributes value. The behavior is weird and don't
match the semantics of object equal. The objects that have
different value should be different objects.
Fix this issue and add some test cases in this patch.

Change-Id: Ieb28aa179bda945686e0d9c2f341c373ce2bab74
Closes-Bug: #1499369
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove double API requests</title>
<updated>2015-11-20T07:29:11+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2015-11-19T15:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=25070cd88eccf10eb66ecd42515d9aa54d940eda'/>
<id>25070cd88eccf10eb66ecd42515d9aa54d940eda</id>
<content type='text'>
When a keystone session object is used API call are done twice.

This change fixes that.

Change-Id: I79815520b996bce954fe531193f1a0229ef30060
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a keystone session object is used API call are done twice.

This change fixes that.

Change-Id: I79815520b996bce954fe531193f1a0229ef30060
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch exception raised by keystoneauth1</title>
<updated>2015-11-20T06:34:20+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2015-11-19T15:26:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=52d518537df335432fc487ccd5c81a500049cd28'/>
<id>52d518537df335432fc487ccd5c81a500049cd28</id>
<content type='text'>
We must support session object that comes from keystoneauth1 and
keystoneclient.

This change adds code path for keystoneauth1 when it misses.

Change-Id: I1164a0a0745605b6bc4fd1fc8fb2813c7e40fb9b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We must support session object that comes from keystoneauth1 and
keystoneclient.

This change adds code path for keystoneauth1 when it misses.

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