<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/v1/test_availability_zone.py, branch kilo-eol</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Merge "convert availability zone tests to requests-mock"</title>
<updated>2014-08-28T20:00:46+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-08-28T20:00:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=7bd8eb2aacae499a957c54bb953bad3c722b0c7d'/>
<id>7bd8eb2aacae499a957c54bb953bad3c722b0c7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>convert availability zone tests to requests-mock</title>
<updated>2014-08-25T06:15:26+00:00</updated>
<author>
<name>Jamie Lennox</name>
<email>jamielennox@redhat.com</email>
</author>
<published>2014-07-11T00:15:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=49c2c64304b5a79c3658c1b57f665fd8e2fe2419'/>
<id>49c2c64304b5a79c3658c1b57f665fd8e2fe2419</id>
<content type='text'>
Blueprint: http-mock-testing
Change-Id: Ib02db9b9e24808d2f5eac42cf6f5b3c5ca123e9b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Blueprint: http-mock-testing
Change-Id: Ib02db9b9e24808d2f5eac42cf6f5b3c5ca123e9b
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix order of arguments in assertEqual</title>
<updated>2014-08-18T04:41:21+00:00</updated>
<author>
<name>KIYOHIRO ADACHI</name>
<email>adachi@mxs.nes.nec.co.jp</email>
</author>
<published>2014-02-26T06:59:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=f3ec0814971112068e933e343ef7ab8986f438c3'/>
<id>f3ec0814971112068e933e343ef7ab8986f438c3</id>
<content type='text'>
Some tests used incorrect order assertEqual(observed, expected).

The correct order expected by testtools is...

    def assertEqual(self, expected, observed, message=''):
        """Assert that 'expected' is equal to 'observed'.

        :param expected: The expected value.
        :param observed: The observed value.
        :param message: An optional message to include in the error.
        """

The string length of the sum of the results of repr(expected) and
repr(observed) is greater than 70, then, MismatchError message is
changed, as below.

  Ex.:
        raise mismatch_error
    MismatchError: !=:
    reference = '_123456789_123456789_bar'
    actual    = '_123456789_123456789_123456789_123456789_123456789'

Change-Id: Id02ddfb2ca03df7f432cff67a7bed182cccc4924
Closes-Bug: #1259292
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some tests used incorrect order assertEqual(observed, expected).

The correct order expected by testtools is...

    def assertEqual(self, expected, observed, message=''):
        """Assert that 'expected' is equal to 'observed'.

        :param expected: The expected value.
        :param observed: The observed value.
        :param message: An optional message to include in the error.
        """

The string length of the sum of the results of repr(expected) and
repr(observed) is greater than 70, then, MismatchError message is
changed, as below.

  Ex.:
        raise mismatch_error
    MismatchError: !=:
    reference = '_123456789_123456789_bar'
    actual    = '_123456789_123456789_123456789_123456789_123456789'

Change-Id: Id02ddfb2ca03df7f432cff67a7bed182cccc4924
Closes-Bug: #1259292
</pre>
</div>
</content>
</entry>
<entry>
<title>replace assertTrue(isinstance) to assertIsInstance</title>
<updated>2014-03-05T10:43:46+00:00</updated>
<author>
<name>ls1175</name>
<email>liusheng@huawei.com</email>
</author>
<published>2014-01-18T07:16:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=0ff5d1cdc615a17c3faf4e728f0bce2f5baf5209'/>
<id>0ff5d1cdc615a17c3faf4e728f0bce2f5baf5209</id>
<content type='text'>
some of tests use different method of assertTrue(isinstance(A, B))
or assertEqual(type(A), B). The correct way is to use
assertIsInstance(A, B) provided by testtools

Change-Id: Ic3eb7b27dc96b0ec7d786c092fc3a6a513af64f7
Closes-bug: #1268480
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
some of tests use different method of assertTrue(isinstance(A, B))
or assertEqual(type(A), B). The correct way is to use
assertIsInstance(A, B) provided by testtools

Change-Id: Ic3eb7b27dc96b0ec7d786c092fc3a6a513af64f7
Closes-bug: #1268480
</pre>
</div>
</content>
</entry>
<entry>
<title>Add availability-zone-list command</title>
<updated>2013-07-25T19:52:08+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2013-07-22T20:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=474c9ee58b7874a198a679c0e76328e659718e34'/>
<id>474c9ee58b7874a198a679c0e76328e659718e34</id>
<content type='text'>
This is client-side support for the os-availability-zone extension added in
https://review.openstack.org/34813.  As /os-availability-zone/detail is not
yet implemented, adjustments were made to accomodate the lack of hosts
in the returned zone list.

Added for both v1 and v2, basically a copy of the equivalent novaclient command.

Change-Id: Iae806a2b5ea3a2d3c984a138d9c27e169160766e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is client-side support for the os-availability-zone extension added in
https://review.openstack.org/34813.  As /os-availability-zone/detail is not
yet implemented, adjustments were made to accomodate the lack of hosts
in the returned zone list.

Added for both v1 and v2, basically a copy of the equivalent novaclient command.

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