diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-08-08 15:47:26 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-08-08 15:47:26 +0300 |
commit | 78fbf9ee60a1cf4306a65c15ecce8dafbe6bf862 (patch) | |
tree | 2712a9ed9c8d728c9be78697c17a48a91c53e719 /test/unit/main.py | |
parent | e8d1c760d6c8134c809d2bb60c212743fdbb9b16 (diff) | |
download | unit-78fbf9ee60a1cf4306a65c15ecce8dafbe6bf862.tar.gz unit-78fbf9ee60a1cf4306a65c15ecce8dafbe6bf862.tar.bz2 |
Tests: fixed modules version parsing.
Diffstat (limited to 'test/unit/main.py')
-rw-r--r-- | test/unit/main.py | 2 |
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: |