summaryrefslogtreecommitdiffhomepage
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/applications/lang/python.py2
-rw-r--r--test/unit/main.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/applications/lang/python.py b/test/unit/applications/lang/python.py
index 31a04107..91559f4b 100644
--- a/test/unit/applications/lang/python.py
+++ b/test/unit/applications/lang/python.py
@@ -1,5 +1,5 @@
-import shutil
import os
+import shutil
from unit.applications.proto import TestApplicationProto
diff --git a/test/unit/main.py b/test/unit/main.py
index 8bca888c..253ddc71 100644
--- a/test/unit/main.py
+++ b/test/unit/main.py
@@ -58,7 +58,6 @@ class TestUnit(unittest.TestCase):
if prereq_version == 'all':
for version in available_versions:
self.application_type = type + ' ' + version
- self.application_version = version
super().run(result)
elif prereq_version == 'any':
self.application_type = type + ' ' + available_versions[0]
@@ -166,7 +165,7 @@ class TestUnit(unittest.TestCase):
self._run()
def _run(self):
- build_dir = os.path.join(self.pardir, 'build')
+ build_dir = self.pardir + '/build'
self.unitd = build_dir + '/unitd'
if not os.path.isfile(self.unitd):