Tests: more comments.
This commit is contained in:
@@ -42,6 +42,8 @@ class TestUnit(unittest.TestCase):
|
|||||||
if not hasattr(self, 'application_type'):
|
if not hasattr(self, 'application_type'):
|
||||||
return super().run(result)
|
return super().run(result)
|
||||||
|
|
||||||
|
# rerun test for each available module version
|
||||||
|
|
||||||
type = self.application_type
|
type = self.application_type
|
||||||
for prerequisite in self.prerequisites:
|
for prerequisite in self.prerequisites:
|
||||||
if prerequisite in available_modules:
|
if prerequisite in available_modules:
|
||||||
@@ -351,6 +353,8 @@ class TestUnit(unittest.TestCase):
|
|||||||
TestUnit.save_log = args.save_log
|
TestUnit.save_log = args.save_log
|
||||||
TestUnit.unsafe = args.unsafe
|
TestUnit.unsafe = args.unsafe
|
||||||
|
|
||||||
|
# set stdout to non-blocking
|
||||||
|
|
||||||
if TestUnit.detailed:
|
if TestUnit.detailed:
|
||||||
fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, 0)
|
fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, 0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user