osc-lib/osc_lib
Bar Elharar 2b74586d3c Suppress subTest() expected errors
Prior to this patch, calling subTest from a test inside a class
that inherits from osc_lib.TestCase would have failed the test.
This failure is either due to lack of support prior to PY3.4 [1], or
long-standing bug in testtools repo [2] which TestCase inherits from.

The patch suppresses both errors, so to allow writing better tests
using subTest, despite the fact that it is currently broken.

[1] - https://docs.python.org/3/whatsnew/3.4.html#unittest
[2] - https://bugs.launchpad.net/testtools/+bug/1219404

Partial-Bug: #1742343

Change-Id: I56bb3501d7a33fcec4fd971b2d9685d113e0af43
2018-01-14 08:11:59 +02:00
..
api Fix find() interface when attr is not specified 2018-01-06 14:37:29 +05:30
cli Use converged SDK insead of os-client-config 2017-12-06 15:26:39 -06:00
command Add deprecated_option_warning() method to Command 2017-01-04 11:11:11 -06:00
tests Suppress subTest() expected errors 2018-01-14 08:11:59 +02:00
utils Fix sorting in Python 3 2017-12-16 02:53:53 +11:00
__init__.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00
clientmanager.py Use converged SDK insead of os-client-config 2017-12-06 15:26:39 -06:00
exceptions.py Add more API support 2017-04-18 10:47:10 -05:00
i18n.py Remove log translations 2017-03-21 00:41:17 -04:00
logs.py Backport log fix 2016-06-08 11:09:08 -05:00
session.py Begin moving bits to osc_lib 2016-05-12 16:07:24 -05:00
shell.py Add CLI/ENV options and documentation for keystone-to-keystone 2017-10-20 15:06:11 -04:00
version.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00