]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/tox.py
import ceph 16.2.7
[ceph.git] / ceph / qa / tasks / tox.py
index 36c226d0b2e6e4555e6347fa1ce3db645bbc7c2d..61c5b7411b45df32f40d5254a7a629fb9af322e4 100644 (file)
@@ -29,14 +29,14 @@ def task(ctx, config):
     log.info('Deploying tox from pip...')
     for (client, _) in config.items():
         # yup, we have to deploy tox first. The packaged one, available
-       # on Sepia's Ubuntu machines, is outdated for Keystone/Tempest.
+        # on Sepia's Ubuntu machines, is outdated for Keystone/Tempest.
         tvdir = get_toxvenv_dir(ctx)
-        ctx.cluster.only(client).run(args=[ 'virtualenv', '-p', 'python3', tvdir ])
-        ctx.cluster.only(client).run(args=
-            [   'source', '{tvdir}/bin/activate'.format(tvdir=tvdir),
-                run.Raw('&&'),
-                'pip', 'install', 'tox==3.15.0'
-            ])
+        ctx.cluster.only(client).run(args=['python3', '-m', 'venv', tvdir])
+        ctx.cluster.only(client).run(args=[
+            'source', '{tvdir}/bin/activate'.format(tvdir=tvdir),
+            run.Raw('&&'),
+            'pip', 'install', 'tox==3.15.0'
+        ])
 
     # export the path Keystone and Tempest
     ctx.tox = argparse.Namespace()