]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
If get_testdir_base() exists, might as well use it...
authorZack Cerza <zack@cerza.org>
Thu, 15 Aug 2013 15:17:32 +0000 (10:17 -0500)
committerZack Cerza <zack@cerza.org>
Thu, 15 Aug 2013 15:17:32 +0000 (10:17 -0500)
teuthology/misc.py

index bcb09ce3cb19ad7b399460226dc9794cf28d002f..eeb4dc11d669e2ab7e6ab7425dc19ffb8f2df35c 100644 (file)
@@ -29,7 +29,7 @@ def get_testdir(ctx):
     if 'test_path' in ctx.teuthology_config:
         return ctx.teuthology_config['test_path']
 
-    basedir = ctx.teuthology_config.get('base_test_dir', '/home/ubuntu/cephtest')
+    basedir = get_testdir_base(ctx)
 
     global global_jobid
     global checked_jobid