<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-novaclient.git/novaclient/tests/unit/fakes.py, branch master</title>
<subtitle>opendev.org: openstack/python-novaclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/'/>
<entry>
<title>Replace MB with MiB</title>
<updated>2018-10-22T07:11:25+00:00</updated>
<author>
<name>Takashi NATSUME</name>
<email>natsume.takashi@lab.ntt.co.jp</email>
</author>
<published>2018-10-09T01:16:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=80b428698172a41fc256174e61d2a005550fb1a3'/>
<id>80b428698172a41fc256174e61d2a005550fb1a3</id>
<content type='text'>
Change-Id: Ie5bd325d8e0f7e9af76c1ddae1d679b0e797c84b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie5bd325d8e0f7e9af76c1ddae1d679b0e797c84b
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Microversion 2.61 - support extra_specs in flavor API"</title>
<updated>2018-04-17T19:46:41+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-04-17T19:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=8cabab774c05f84ecb648f35d43fa1873adf5ef8'/>
<id>8cabab774c05f84ecb648f35d43fa1873adf5ef8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Microversion 2.61 - support extra_specs in flavor API</title>
<updated>2018-04-17T14:02:35+00:00</updated>
<author>
<name>Takashi NATSUME</name>
<email>natsume.takashi@lab.ntt.co.jp</email>
</author>
<published>2018-04-16T03:35:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=229d0df752702700dd30ddbe6d94d5efd5477318'/>
<id>229d0df752702700dd30ddbe6d94d5efd5477318</id>
<content type='text'>
Starting from microversion 2.61, the responses of the 'Flavor' APIs
include the 'extra_specs' parameter. Therefore 'Flavors extra-specs'
(os-extra_specs) API calls have been removed in the following commands
since microversion 2.61.

* nova flavor-list
* nova flavor-show

Change-Id: I10d621d9b62764114d55cb368e720d182eaffd11
Implements: blueprint add-extra-specs-to-flavor-list
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting from microversion 2.61, the responses of the 'Flavor' APIs
include the 'extra_specs' parameter. Therefore 'Flavors extra-specs'
(os-extra_specs) API calls have been removed in the following commands
since microversion 2.61.

* nova flavor-list
* nova flavor-show

Change-Id: I10d621d9b62764114d55cb368e720d182eaffd11
Implements: blueprint add-extra-specs-to-flavor-list
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix comments in novaclient/tests/unit/fakes.py</title>
<updated>2018-04-17T02:38:03+00:00</updated>
<author>
<name>Takashi NATSUME</name>
<email>natsume.takashi@lab.ntt.co.jp</email>
</author>
<published>2018-04-17T02:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=936b5a572d43c7694e3534c52331c2658cd04b40'/>
<id>936b5a572d43c7694e3534c52331c2658cd04b40</id>
<content type='text'>
Replace 'Assert than' with 'Assert that'.

TrivialFix
Change-Id: I426895467dfa693214f78b495d82e730f4307b9d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace 'Assert than' with 'Assert that'.

TrivialFix
Change-Id: I426895467dfa693214f78b495d82e730f4307b9d
</pre>
</div>
</content>
</entry>
<entry>
<title>Look up image names directly in glance</title>
<updated>2016-08-12T20:00:56+00:00</updated>
<author>
<name>Sean Dague</name>
<email>sean@dague.net</email>
</author>
<published>2016-08-11T19:20:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=f839cf1625714c2e159631c56560d9d92eb9964f'/>
<id>f839cf1625714c2e159631c56560d9d92eb9964f</id>
<content type='text'>
This does a lookup directly to the image service for name =&gt; id
mapping of images. This is required to move on to supporting the
2.36 microversion since that microversion makes the compute
image API proxy return a 404, so before the client can support
that microversion it has to first drop it's usage of the proxy
API.

Because of the way the FakeHTTPClient was stubbing the image
API proxy and the tests are not passing uuids for image IDs,
there is a lot of cleaning up of the tests to make this work
with a fake glance v2 API backend. The tests were basically
false though since you can't do 'nova image-show 1', but because
the stubs mask that it's just been a mountain of lies that has to
be cleaned up here.

As a side effect of fixing a bunch of the tests, this also
makes debugging assert_called less terrible with a better error
message.

Co-Authored-By: Matt Riedemann &lt;mriedem@us.ibm.com&gt;

Related to blueprint deprecate-api-proxies

Change-Id: Iaff3999eafb7d746e5c6032f07ce0756f7b5e868
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This does a lookup directly to the image service for name =&gt; id
mapping of images. This is required to move on to supporting the
2.36 microversion since that microversion makes the compute
image API proxy return a 404, so before the client can support
that microversion it has to first drop it's usage of the proxy
API.

Because of the way the FakeHTTPClient was stubbing the image
API proxy and the tests are not passing uuids for image IDs,
there is a lot of cleaning up of the tests to make this work
with a fake glance v2 API backend. The tests were basically
false though since you can't do 'nova image-show 1', but because
the stubs mask that it's just been a mountain of lies that has to
be cleaned up here.

As a side effect of fixing a bunch of the tests, this also
makes debugging assert_called less terrible with a better error
message.

Co-Authored-By: Matt Riedemann &lt;mriedem@us.ibm.com&gt;

Related to blueprint deprecate-api-proxies

Change-Id: Iaff3999eafb7d746e5c6032f07ce0756f7b5e868
</pre>
</div>
</content>
</entry>
<entry>
<title>Add wrapper classes for return-request-id-to-caller</title>
<updated>2016-01-26T23:46:10+00:00</updated>
<author>
<name>Takashi NATSUME</name>
<email>natsume.takashi@lab.ntt.co.jp</email>
</author>
<published>2015-12-25T02:26:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=2220c56375cac56911b52900e5458c6901557040'/>
<id>2220c56375cac56911b52900e5458c6901557040</id>
<content type='text'>
Added wrapper classes which are inherited from base data types str,
list, tuple and dict. Each of these wrapper classes and
the Resource class contain a 'request_ids' attribute
which is populated with a 'x-compute-request-id' or
a 'x-openstack-request-id' received in a header from a response body.

This change is required to return 'request_id' from
client to log request_id mappings of cross projects.

This patch is one of a series of patches for implementing
return-request-id-to-caller.

Co-authored-by: Ankit Agrawal &lt;ankit11.agrawal@nttdata.com&gt;
Change-Id: I422c4f4ee59991ca89a0a16f548b537c8b61bb97
Implements: blueprint return-request-id-to-caller
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added wrapper classes which are inherited from base data types str,
list, tuple and dict. Each of these wrapper classes and
the Resource class contain a 'request_ids' attribute
which is populated with a 'x-compute-request-id' or
a 'x-openstack-request-id' received in a header from a response body.

This change is required to return 'request_id' from
client to log request_id mappings of cross projects.

This patch is one of a series of patches for implementing
return-request-id-to-caller.

Co-authored-by: Ankit Agrawal &lt;ankit11.agrawal@nttdata.com&gt;
Change-Id: I422c4f4ee59991ca89a0a16f548b537c8b61bb97
Implements: blueprint return-request-id-to-caller
</pre>
</div>
</content>
</entry>
<entry>
<title>remove the default arguments "[]"</title>
<updated>2015-12-09T12:59:48+00:00</updated>
<author>
<name>Javeme</name>
<email>zhangmei.li@easystack.cn</email>
</author>
<published>2015-12-07T12:56:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=e919c9b792bff0d77435bb3b62d93c9d77904374'/>
<id>e919c9b792bff0d77435bb3b62d93c9d77904374</id>
<content type='text'>
remove the default arguments "[]" when the function is defined.

ref: http://docs.python-guide.org/en/latest/writing/gotchas/

Change-Id: I71ee8fbf5dec12d93bbed0e336124ad833014845
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
remove the default arguments "[]" when the function is defined.

ref: http://docs.python-guide.org/en/latest/writing/gotchas/

Change-Id: I71ee8fbf5dec12d93bbed0e336124ad833014845
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix H404/405 violations in novaclient/tests/*</title>
<updated>2015-12-07T05:17:56+00:00</updated>
<author>
<name>Ghanshyam</name>
<email>ghanshyam.mann@nectechnologies.in</email>
</author>
<published>2015-12-07T05:17:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=573bdaa290d87dfbf8d517395e44fd9737fdfb18'/>
<id>573bdaa290d87dfbf8d517395e44fd9737fdfb18</id>
<content type='text'>
There is a lot of H404/405 violations in novaclient, and it is better
to fix those to have a better doc string for class/methods.

This patch fixes these violations for files under  novaclient/tests/
folder.

As there are lot of violations and cannot be fixed in single patches,
So separating those in multiple patches for easy review.

Partial-Bug: #1521899
Change-Id: I6e712ece14c745013bfba0bee9d77e7875dd2263
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a lot of H404/405 violations in novaclient, and it is better
to fix those to have a better doc string for class/methods.

This patch fixes these violations for files under  novaclient/tests/
folder.

As there are lot of violations and cannot be fixed in single patches,
So separating those in multiple patches for easy review.

Partial-Bug: #1521899
Change-Id: I6e712ece14c745013bfba0bee9d77e7875dd2263
</pre>
</div>
</content>
</entry>
<entry>
<title>Move unit tests into unit test directory</title>
<updated>2015-01-27T21:06:06+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>joe.gordon0@gmail.com</email>
</author>
<published>2015-01-27T20:59:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-novaclient.git/commit/?id=3561772f8b0cfee746af53fa228375b2ec7dfd9d'/>
<id>3561772f8b0cfee746af53fa228375b2ec7dfd9d</id>
<content type='text'>
In order to pave the way for functional testing, move existing unit
tests into a directory labeled unit. A subsequent patch will add a
directory for functional tests.

Change-Id: I0adb8b9f14451acb382c725d31f5387b4b6d82bb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to pave the way for functional testing, move existing unit
tests into a directory labeled unit. A subsequent patch will add a
directory for functional tests.

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