feat: async build_spec
This commit is contained in:
@@ -76,19 +76,8 @@ class PytestNeotestAdapter(NeotestAdapter):
|
||||
"errors": errors,
|
||||
},
|
||||
)
|
||||
results[abs_path] = self.update_result(
|
||||
results.get(abs_path),
|
||||
{
|
||||
"short": None,
|
||||
"status": NeotestResultStatus(report.outcome),
|
||||
"errors": errors,
|
||||
},
|
||||
)
|
||||
|
||||
import pytest
|
||||
|
||||
pytest.main(args=args, plugins=[NeotestResultCollector])
|
||||
return results
|
||||
|
||||
def update_report(self, report: Optional[Dict], update: Dict):
|
||||
...
|
||||
|
@@ -76,14 +76,6 @@ class UnittestNeotestAdapter(NeotestAdapter):
|
||||
"short": None,
|
||||
},
|
||||
)
|
||||
results[case_file] = self.update_result(
|
||||
results.get(case_file),
|
||||
{
|
||||
"status": NeotestResultStatus.FAILED,
|
||||
"errors": [{"message": message, "line": error_line}],
|
||||
"short": None,
|
||||
},
|
||||
)
|
||||
for case, message in result.skipped:
|
||||
results[self.case_id(case)] = self.update_result(
|
||||
results[self.case_id(case)],
|
||||
|
Reference in New Issue
Block a user