Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: tools/telemetry/third_party/gsutil/third_party/boto/tests/integration/ses/test_connection.py

Issue 1260493004: Revert "Add gsutil 4.13 to telemetry/third_party" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/third_party/gsutil/third_party/boto/tests/integration/ses/test_connection.py
diff --git a/tools/telemetry/third_party/gsutil/third_party/boto/tests/integration/ses/test_connection.py b/tools/telemetry/third_party/gsutil/third_party/boto/tests/integration/ses/test_connection.py
deleted file mode 100644
index 4e849e9fcc77110f1b1f36ec56775501f64d2740..0000000000000000000000000000000000000000
--- a/tools/telemetry/third_party/gsutil/third_party/boto/tests/integration/ses/test_connection.py
+++ /dev/null
@@ -1,38 +0,0 @@
-from tests.unit import unittest
-
-from boto.ses.connection import SESConnection
-from boto.ses import exceptions
-
-
-class SESConnectionTest(unittest.TestCase):
- ses = True
-
- def setUp(self):
- self.ses = SESConnection()
-
- def test_get_dkim_attributes(self):
- response = self.ses.get_identity_dkim_attributes(['example.com'])
- # Verify we get the structure we expect, we don't care about the
- # values.
- self.assertTrue('GetIdentityDkimAttributesResponse' in response)
- self.assertTrue('GetIdentityDkimAttributesResult' in
- response['GetIdentityDkimAttributesResponse'])
- self.assertTrue(
- 'DkimAttributes' in response['GetIdentityDkimAttributesResponse']
- ['GetIdentityDkimAttributesResult'])
-
- def test_set_identity_dkim_enabled(self):
- # This api call should fail because have not verified the domain,
- # so we can test that it at least fails we we expect.
- with self.assertRaises(exceptions.SESIdentityNotVerifiedError):
- self.ses.set_identity_dkim_enabled('example.com', True)
-
- def test_verify_domain_dkim(self):
- # This api call should fail because have not confirmed the domain,
- # so we can test that it at least fails we we expect.
- with self.assertRaises(exceptions.SESDomainNotConfirmedError):
- self.ses.verify_domain_dkim('example.com')
-
-
-if __name__ == '__main__':
- unittest.main()

Powered by Google App Engine
This is Rietveld 408576698