summaryrefslogtreecommitdiffhomepage
path: root/test/unit/main.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-08-08 15:47:26 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-08-08 15:47:26 +0300
commit78fbf9ee60a1cf4306a65c15ecce8dafbe6bf862 (patch)
tree2712a9ed9c8d728c9be78697c17a48a91c53e719 /test/unit/main.py
parente8d1c760d6c8134c809d2bb60c212743fdbb9b16 (diff)
downloadunit-78fbf9ee60a1cf4306a65c15ecce8dafbe6bf862.tar.gz
unit-78fbf9ee60a1cf4306a65c15ecce8dafbe6bf862.tar.bz2
Tests: fixed modules version parsing.
Diffstat (limited to '')
-rw-r--r--test/unit/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/main.py b/test/unit/main.py
index 212da49e..27f8bff9 100644
--- a/test/unit/main.py
+++ b/test/unit/main.py
@@ -125,7 +125,7 @@ class TestUnit(unittest.TestCase):
global available_modules
available_modules = {}
- for module in re.findall(r'module: ([a-zA-Z]+) ([\d\.]*) ', log):
+ for module in re.findall(r'module: ([a-zA-Z]+) (.*) ".*"$', log, re.M):
if module[0] not in available_modules:
available_modules[module[0]] = [module[1]]
else: