798c7e35ef
Tests should use: self.assertIn(value, list) self.assertNotIn(value, list) instead of: self.assertTrue(value in list) self.assertFalse(value in list) because assertIn and assertNotIn raise more meaningful errors: self.assertIn(3, [1, 2]) >>> MismatchError: 3 not in [1, 2] self.assertTrue(3 in [1, 2]) >>> AssertionError: False is not true Closes-Bug: #1510007 Change-Id: If33252cc93c06a85e61871fb7b22b726f4a08500 |
||
---|---|---|
.. | ||
api | ||
common | ||
__init__.py | ||
python_client_base.py | ||
test_k8s_python_client.py | ||
test_magnum_python_client.py | ||
test_templates.py |