From: Andrey Rahmatullin <wrar@debian.org>
Date: Sat, 10 Aug 2019 11:55:22 +0500
Subject: Use the python3 binary in cmdline tests.

---
 tests/tests_cmd_lines.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/tests_cmd_lines.py b/tests/tests_cmd_lines.py
index 0bfacb1..9f979cb 100644
--- a/tests/tests_cmd_lines.py
+++ b/tests/tests_cmd_lines.py
@@ -25,25 +25,25 @@ class TestCmdLines(unittest.TestCase):
         cls.srv.start()
 
     def test_uals(self):
-        s = subprocess.check_output(["python", "tools/uals", "--url", self.srv_url])
+        s = subprocess.check_output(["python3", "tools/uals", "--url", self.srv_url])
         self.assertIn(b"i=85", s)
         self.assertNotIn(b"i=89", s)
         self.assertNotIn(b"1.999", s)
-        s = subprocess.check_output(["python", "tools/uals", "--url", self.srv_url, "-d", "3"])
+        s = subprocess.check_output(["python3", "tools/uals", "--url", self.srv_url, "-d", "3"])
         self.assertIn(b"1.999", s)
 
     def test_uaread(self):
-        s = subprocess.check_output(["python", "tools/uaread", "--url", self.srv_url, "--path", "0:Objects,4:directory,4:variable"])
+        s = subprocess.check_output(["python3", "tools/uaread", "--url", self.srv_url, "--path", "0:Objects,4:directory,4:variable"])
         self.assertIn(b"1.999", s)
 
     def test_uawrite(self):
-        s = subprocess.check_output(["python", "tools/uawrite", "--url", self.srv_url, "--path", "0:Objects,4:directory,4:variable2", "1.789"])
-        s = subprocess.check_output(["python", "tools/uaread", "--url", self.srv_url, "--path", "0:Objects,4:directory,4:variable2"])
+        s = subprocess.check_output(["python3", "tools/uawrite", "--url", self.srv_url, "--path", "0:Objects,4:directory,4:variable2", "1.789"])
+        s = subprocess.check_output(["python3", "tools/uaread", "--url", self.srv_url, "--path", "0:Objects,4:directory,4:variable2"])
         self.assertIn(b"1.789", s)
         self.assertNotIn(b"1.999", s)
 
     def test_uadiscover(self):
-        s = subprocess.check_output(["python", "tools/uadiscover", "--url", self.srv_url])
+        s = subprocess.check_output(["python3", "tools/uadiscover", "--url", self.srv_url])
         self.assertIn(b"opc.tcp://127.0.0.1", s)
         self.assertIn(b"FreeOpcUa", s)
         self.assertIn(b"urn:freeopcua:python:server", s)
