summaryrefslogtreecommitdiff
path: root/tests/integration/dynamodb2
diff options
context:
space:
mode:
authorDaniel Lindsley <daniel@toastdriven.com>2013-10-04 13:23:48 -0700
committerDaniel Lindsley <daniel@toastdriven.com>2013-10-04 13:24:06 -0700
commit350b3b378e2987fc89ddda2e5b9e1323d2fa1ef5 (patch)
treea488dfb4de00e3d04e991b90bf8dde6b1dfe1fab /tests/integration/dynamodb2
parent150aef68d408bfe4feca41d2fe2bcfbef04a0876 (diff)
downloadboto-350b3b378e2987fc89ddda2e5b9e1323d2fa1ef5.tar.gz
Spruced up all the certificate tests.
Diffstat (limited to 'tests/integration/dynamodb2')
-rw-r--r--tests/integration/dynamodb2/test_cert_verification.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/integration/dynamodb2/test_cert_verification.py b/tests/integration/dynamodb2/test_cert_verification.py
index 3901c57e..2fc93fd5 100644
--- a/tests/integration/dynamodb2/test_cert_verification.py
+++ b/tests/integration/dynamodb2/test_cert_verification.py
@@ -24,17 +24,16 @@
"""
Check that all of the certs on all service endpoints validate.
"""
-
import unittest
-import boto.dynamodb2
+from tests.integration import ServiceCertVerificationTest
+
+import boto.dynamodb2
-class CertVerificationTest(unittest.TestCase):
+class DynamoDB2CertVerificationTest(unittest.TestCase, ServiceCertVerificationTest):
dynamodb2 = True
- ssl = True
+ regions = boto.dynamodb2.regions()
- def test_certs(self):
- for region in boto.dynamodb2.regions():
- c = region.connect()
- c.list_tables()
+ def sample_service_call(self, conn):
+ conn.list_tables()