[ARVADOS] updated: 6617a2ba4323d2f47566c89961763625fce2e1ca

Git user git at public.curoverse.com
Wed Jun 15 21:51:37 EDT 2016


Summary of changes:
 sdk/python/tests/test_keep_client.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

       via  6617a2ba4323d2f47566c89961763625fce2e1ca (commit)
       via  573d4de8f5471e071f8b1f72646cc02fd82c6bd1 (commit)
      from  76be616a8a65a6c574026583c462640dcc9e706f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 6617a2ba4323d2f47566c89961763625fce2e1ca
Merge: 76be616 573d4de
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Wed Jun 15 22:51:07 2016 -0300

    Merge branch '9417-asserttrue-for-value-comparison'
    
    Closes #9417


commit 573d4de8f5471e071f8b1f72646cc02fd82c6bd1
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Wed Jun 15 16:27:23 2016 -0300

    9417: Replaced assertTrue() with assertEqual() on RetryNeedsMultipleServices's tests

diff --git a/sdk/python/tests/test_keep_client.py b/sdk/python/tests/test_keep_client.py
index 5fbab7d..77bf879 100644
--- a/sdk/python/tests/test_keep_client.py
+++ b/sdk/python/tests/test_keep_client.py
@@ -1079,14 +1079,14 @@ class RetryNeedsMultipleServices(unittest.TestCase, tutil.ApiClientMock):
                 '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)
+        self.assertEqual(3, req_mock.call_count)
 
     def test_success_after_retryable_error(self):
         with tutil.mock_keep_responses(
                 'acbd18db4cc2f85cedef654fccc4a4d8+3',
                 500, 200, 200) as req_mock:
             self.keep_client.put('foo', num_retries=1, copies=2)
-        self.assertTrue(3, req_mock.call_count)
+        self.assertEqual(3, req_mock.call_count)
 
     def test_fail_after_final_error(self):
         # First retry loop gets a 200 (can't achieve replication by
@@ -1097,4 +1097,4 @@ class RetryNeedsMultipleServices(unittest.TestCase, tutil.ApiClientMock):
                 200, 400, 200) as req_mock:
             with self.assertRaises(arvados.errors.KeepWriteError):
                 self.keep_client.put('foo', num_retries=1, copies=2)
-        self.assertTrue(2, req_mock.call_count)
+        self.assertEqual(2, req_mock.call_count)

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list