summaryrefslogtreecommitdiffstats
path: root/smoketests/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'smoketests/base.py')
-rw-r--r--smoketests/base.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/smoketests/base.py b/smoketests/base.py
index afc618074..204b4a1eb 100644
--- a/smoketests/base.py
+++ b/smoketests/base.py
@@ -28,7 +28,9 @@ from boto.ec2.regioninfo import RegionInfo
from smoketests import flags
+SUITE_NAMES = '[image, instance, volume]'
FLAGS = flags.FLAGS
+flags.DEFINE_string('suite', None, 'Specific test suite to run ' + SUITE_NAMES)
boto_v6 = None
@@ -173,6 +175,16 @@ class SmokeTestCase(unittest.TestCase):
return True
+TEST_DATA = {}
+
+
+class UserSmokeTestCase(SmokeTestCase):
+ def setUp(self):
+ global TEST_DATA
+ self.conn = self.connection_for_env()
+ self.data = TEST_DATA
+
+
def run_tests(suites):
argv = FLAGS(sys.argv)
if FLAGS.use_ipv6: