Actions
Bug #9417
closedSome tests use assertTrue for value comparison
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Tests
Target version:
Start date:
06/15/2016
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Story points:
-
Description
Found that the tests at the RetryNeedsMultipleServices test case on file test_keep_client.py are using assertTrue to compare values instead of assertEqual. For example:
def test_success_after_exception(self): with tutil.mock_keep_responses( 'acbd18db4cc2f85cedef654fccc4a4d8+3', Exception('mock err'), 200, 200) as req_mock: self.keep_client.put('foo', num_retries=1, copies=2) self.assertTrue(3, req_mock.call_count)
Actions