python/samba/test: Make sure traffic_replay is called with correct python
authorNoel Power <noel.power@suse.com>
Fri, 16 Nov 2018 19:58:50 +0000 (19:58 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:22 +0000 (10:38 +0100)
PY3 fix samba4.blackbox.rfc2307_mapping

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/__init__.py

index 9b30d2e..a3f0652 100644 (file)
@@ -385,7 +385,7 @@ class BlackboxTestCase(TestCaseInTempDir):
         cmd = parts[0]
         exe = os.path.join(BINDIR, cmd)
         if os.path.exists(exe):
-            python_cmds = ["samba-tool", "samba_dnsupdate"]
+            python_cmds = ["samba-tool", "samba_dnsupdate", "script/traffic_replay"]
             parts[0] = exe
             if cmd in python_cmds and os.getenv("PYTHON", None):
                 parts.insert(0, os.environ["PYTHON"])