feat: async build_spec

This commit is contained in:
Rónán Carrigan
2022-02-06 21:18:33 +00:00
parent 1323c5ff09
commit a02e6d5acb
4 changed files with 64 additions and 56 deletions

View File

@@ -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):
...