mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Epic bug in json output wtf :|
This commit is contained in:
parent
a684cc4d1b
commit
08905f25f5
1 changed files with 6 additions and 3 deletions
|
@ -271,7 +271,11 @@ class TestSuite():
|
||||||
if "ignore" in options and self.name in options["ignore"]:
|
if "ignore" in options and self.name in options["ignore"]:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
reports += list(test(self))
|
this_test_reports = list(test(self))
|
||||||
|
for report in this_test_reports:
|
||||||
|
report.test_name = test.__qualname__
|
||||||
|
|
||||||
|
reports += this_test_reports
|
||||||
|
|
||||||
# Display part
|
# Display part
|
||||||
|
|
||||||
|
@ -297,8 +301,7 @@ class TestSuite():
|
||||||
_print("")
|
_print("")
|
||||||
|
|
||||||
for report in reports:
|
for report in reports:
|
||||||
test_name = test.__qualname__
|
tests_reports[report_type(report)].append((report.test_name, report))
|
||||||
tests_reports[report_type(report)].append((test_name, report))
|
|
||||||
|
|
||||||
|
|
||||||
def run_single_test(self, test):
|
def run_single_test(self, test):
|
||||||
|
|
Loading…
Reference in a new issue