<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/fakes.py, branch stable/kilo</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Optional size parameter for volume creation</title>
<updated>2014-07-08T20:51:15+00:00</updated>
<author>
<name>Juan Manuel Olle</name>
<email>juan.m.olle@intel.com</email>
</author>
<published>2014-04-08T19:38:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=bd361644f73b7a688d45f67621b1a08f513fa024'/>
<id>bd361644f73b7a688d45f67621b1a08f513fa024</id>
<content type='text'>
This patch makes optional the parameter size
for creating a volume from a snapshot or other
volume.
The parameter is still required for other
kind of volume creation.

Change-Id: I75dcf0e647f6e82a2407bcf23ef359f5f87323e8
Closes-Bug: #1304463
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch makes optional the parameter size
for creating a volume from a snapshot or other
volume.
The parameter is still required for other
kind of volume creation.

Change-Id: I75dcf0e647f6e82a2407bcf23ef359f5f87323e8
Closes-Bug: #1304463
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Refactor dict for python2/python3 compat</title>
<updated>2013-10-11T13:04:49+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-10-07T02:39:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1'/>
<id>b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1</id>
<content type='text'>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fixing erroneous clearing of test callstack"</title>
<updated>2013-08-28T06:09:24+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-08-28T06:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=473ca25155412a6d6038b4220d1c97f966c40b40'/>
<id>473ca25155412a6d6038b4220d1c97f966c40b40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing erroneous clearing of test callstack</title>
<updated>2013-08-13T13:59:57+00:00</updated>
<author>
<name>Peter Hamilton</name>
<email>peter.hamilton@jhuapl.edu</email>
</author>
<published>2013-08-12T12:55:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=41cf3f193be7320f069963679889ef43662c490b'/>
<id>41cf3f193be7320f069963679889ef43662c490b</id>
<content type='text'>
This modification addresses Bug #1210292, specifically addressing
the case where the test framework callstack is cleared when no
asserts are raised in assert_called_anytime. This test method
verifies that a specific API method call was made at any time
during a test. If a test makes multiple calls to this method, and
the first call yields no assertions, the subsequent calls will fail
because the first assert in the method verifies that the callstack
is non-empty. The error itself likely exists because
assert_called_anytime is not currently used in the
python-cinderclient testing framework.

The fix involves deleting the last line in the method that clears
the callstack.

Fixes: bug 1210292

Change-Id: I8b7b740957841a328b2f0ca888190f758cbdd234
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This modification addresses Bug #1210292, specifically addressing
the case where the test framework callstack is cleared when no
asserts are raised in assert_called_anytime. This test method
verifies that a specific API method call was made at any time
during a test. If a test makes multiple calls to this method, and
the first call yields no assertions, the subsequent calls will fail
because the first assert in the method verifies that the callstack
is non-empty. The error itself likely exists because
assert_called_anytime is not currently used in the
python-cinderclient testing framework.

The fix involves deleting the last line in the method that clears
the callstack.

Fixes: bug 1210292

Change-Id: I8b7b740957841a328b2f0ca888190f758cbdd234
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing malformed assert message formatting</title>
<updated>2013-08-13T13:58:09+00:00</updated>
<author>
<name>Peter Hamilton</name>
<email>peter.hamilton@jhuapl.edu</email>
</author>
<published>2013-08-12T13:05:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=eb413f5373af70cbd41a0f9bf0800cf47d609dcc'/>
<id>eb413f5373af70cbd41a0f9bf0800cf47d609dcc</id>
<content type='text'>
This modification addresses Bug #1210296, specifically addressing
malformed assert message formatting in assert_called_anytime. When
verifying that an API method was called during test execution, the
assert statement used will throw a TypeError when formatting the
assert message, instead of the expected AssertionError. This occurs
because a nested tuple in the format list is not properly expanded.
The error itself likely exists because assert_called_anytime is not
currently used in the python-cinderclient testing framework.

The fix involves joining the arguments in the format list into a
single tuple, allowing proper argument expansion.

Fixes: bug 1210296

Change-Id: I6cf9dd55cff318e8a850637c540436c91dac08df
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This modification addresses Bug #1210296, specifically addressing
malformed assert message formatting in assert_called_anytime. When
verifying that an API method was called during test execution, the
assert statement used will throw a TypeError when formatting the
assert message, instead of the expected AssertionError. This occurs
because a nested tuple in the format list is not properly expanded.
The error itself likely exists because assert_called_anytime is not
currently used in the python-cinderclient testing framework.

The fix involves joining the arguments in the format list into a
single tuple, allowing proper argument expansion.

Fixes: bug 1210296

Change-Id: I6cf9dd55cff318e8a850637c540436c91dac08df
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync with global requirements</title>
<updated>2013-08-06T17:45:24+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-08-06T16:36:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=61006510007f7b23a25bf0bfcd8ad7d740def9e1'/>
<id>61006510007f7b23a25bf0bfcd8ad7d740def9e1</id>
<content type='text'>
Change-Id: Iccc824fef7dc7ae5675d6528a1ea33566e5f7eef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iccc824fef7dc7ae5675d6528a1ea33566e5f7eef
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Fix traceback while running tests</title>
<updated>2013-06-20T01:52:22+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-06-20T01:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=3044671b3647cd9a6b14b6262baa44567c6e995b'/>
<id>3044671b3647cd9a6b14b6262baa44567c6e995b</id>
<content type='text'>
The testsuite is full of the following:

TypeError: 'dict_keys' object does not support indexing

This is due to the fact in python3 dict methods dict.keys(),
dict.items() and dict.values() return “views” instead of lists.

Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The testsuite is full of the following:

TypeError: 'dict_keys' object does not support indexing

This is due to the fact in python3 dict methods dict.keys(),
dict.items() and dict.values() return “views” instead of lists.

Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Basic python3 compatibility.</title>
<updated>2013-06-12T12:59:44+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-06-10T02:24:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=4b1cdab2fe1c97eadc33f40856d78b5718fd3ed2'/>
<id>4b1cdab2fe1c97eadc33f40856d78b5718fd3ed2</id>
<content type='text'>
Basic python3 compatibilty.

Change-Id: I4388f5956cf397f8e33d20085aae6c6a728dbbda
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Basic python3 compatibilty.

Change-Id: I4388f5956cf397f8e33d20085aae6c6a728dbbda
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move tests into cinderclient package.</title>
<updated>2013-05-20T18:32:32+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-05-18T16:22:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=bf1ce848e697418bf7cd4a5b955930e0cf41b44a'/>
<id>bf1ce848e697418bf7cd4a5b955930e0cf41b44a</id>
<content type='text'>
tests/__init__.py implies a package in the global namespace called
tests. That's not what these are - they're tests in the cinderclient
namespace.

Change-Id: I29c95bcd8747c3f5f21d5d900879c9b6b1c9a963
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests/__init__.py implies a package in the global namespace called
tests. That's not what these are - they're tests in the cinderclient
namespace.

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