![]() mock_object method in TestCase class now accepts keyword arguments that will be properly handled when no new object is provided, so we can now simplify calls in our tests. This patch changes calls like self.mock_object(os.path, 'exists', mock.Mock(return_value=True)) into self.mock_object(os.path, 'exists', return_value=True) Change-Id: I904ab4956a081c0292e2c982320e5005b055d3d5 |
||
---|---|---|
.. | ||
__init__.py | ||
test_versions.py |