mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
debug
Revert "debug" This reverts commit fc3655149486c8b980e245e97b8304232086f08d. fix(discover): Fix pytest discovery for futurehouse structure Revert "fix(discover): Fix pytest discovery for futurehouse structure" This reverts commit 40c48882b7413f5876af0e2e08d8f17a65bab091. Reapply "debug" This reverts commit c8297e57fbdca2462a8ca1199657748b8bc225e9. Revert "not needed here" This reverts commitdd2c5cdf76. Revert "lower threshold and cleanup comments" This reverts commit0e2f57e292. Reapply "lower threshold and cleanup comments" This reverts commit e3b24f4a2967551eca8a19f96bf6647b23acdbbc. Reapply "not needed here" This reverts commit aec32103c931ff6d57dfa0d012113c2cec5d37a7. Revert "Reapply "debug"" This reverts commit 77ab9f34f858a17fb29764c544769a0eb72ce7f0. Reapply "fix(discover): Fix pytest discovery for futurehouse structure" This reverts commit 506b94ab4fe17a7c8e0d458253812758cced3f22. feat(futurehouse): Make futurehouse structure pytest compatible
This commit is contained in:
parent
b363acda1c
commit
ac29b6beb3
3 changed files with 3 additions and 2 deletions
|
|
@ -580,8 +580,8 @@ def discover_tests_pytest(
|
|||
discover_only_these_tests: list[Path] | None = None,
|
||||
functions_to_optimize: list[FunctionToOptimize] | None = None,
|
||||
) -> tuple[dict[str, set[FunctionCalledInTest]], int, int]:
|
||||
tests_root = cfg.tests_root
|
||||
project_root = cfg.project_root_path
|
||||
tests_root = cfg.tests_project_rootdir
|
||||
project_root = cfg.tests_project_rootdir
|
||||
|
||||
tmp_pickle_path = get_run_tmp_file("collected_tests.pkl")
|
||||
with custom_addopts():
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ pickle_path = sys.argv[3]
|
|||
collected_tests = []
|
||||
pytest_rootdir = None
|
||||
sys.path.insert(1, str(cwd))
|
||||
sys.path.insert(1, str(Path(cwd) / "src"))
|
||||
|
||||
|
||||
def parse_pytest_collection_results(pytest_tests: list[Any]) -> list[dict[str, str]]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue