python-cinderclient/cinderclient/tests
KIYOHIRO ADACHI f3ec081497 Fix order of arguments in assertEqual
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
2014-08-18 13:41:21 +09:00
..
fixture_data Fix version discovery and auth_plugins 2014-07-01 09:22:06 -07:00
v1 Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
v2 Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
__init__.py Move tests into cinderclient package. 2013-05-20 14:32:32 -04:00
fakes.py Optional size parameter for volume creation 2014-07-08 17:51:15 -03:00
test_auth_plugins.py Add auth_plugin support to cinderclient 2014-02-14 15:09:44 -06:00
test_base.py Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
test_client.py Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
test_http.py Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
test_service_catalog.py Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
test_shell.py Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
test_utils.py Fix order of arguments in assertEqual 2014-08-18 13:41:21 +09:00
utils.py When there is no error body return the HTTP reason 2014-03-04 10:00:44 +11:00