Example #1
0
 def test_back_off_error(self):
     common.BackOffRequest.get(common.get_content_url())
     self.assertEqual(common.BackOffRequest._BackOffRequest__retries, 1)
Example #2
0
 def test_back_off_error(self):
     common.BackOffRequest.get(common.get_content_url())
     self.assertEqual(common.BackOffRequest._BackOffRequest__retries, 1)
Example #3
0
 def testContentUrl(self):
     self.assertEqual(common.get_content_url(), 'https://content-na.drive.amazonaws.com/cdproxy/')
Example #4
0
 def testContentUrl(self):
     self.assertEqual(common.get_content_url(),
                      'https://content-na.drive.amazonaws.com/cdproxy/')