<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/test_client.py, branch stable/kilo</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>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>Mask passwords in client debug output</title>
<updated>2014-07-30T18:43:32+00:00</updated>
<author>
<name>Jay S. Bryant</name>
<email>jsbryant@us.ibm.com</email>
</author>
<published>2014-07-15T18:51:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=80582f2b860b2dadef7ae07bdbd8395bf03848b1'/>
<id>80582f2b860b2dadef7ae07bdbd8395bf03848b1</id>
<content type='text'>
This change looks for the use of 'password' in the data that
is sent and uses mask_password() to remove the actual password
text.  This change will prevent debug output that is being
saved from saving passwords.

A test case is added to verify that password output is being removed.

Change-Id: I93bde838ea21101df08c0e824d9f9457ed2ad077
Closes-Bug: 1341735
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change looks for the use of 'password' in the data that
is sent and uses mask_password() to remove the actual password
text.  This change will prevent debug output that is being
saved from saving passwords.

A test case is added to verify that password output is being removed.

Change-Id: I93bde838ea21101df08c0e824d9f9457ed2ad077
Closes-Bug: 1341735
</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://91.123.203.49/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>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://91.123.203.49/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>
