mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
[scheduler] record daily run for deps-security-agent (failed) + fix windows tests
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
7a53be30f3
commit
fca248bb93
2 files changed
+15
No files matched your search
@@ -6,6 +6,8 @@ import sys
|
||||
|
||||
import pytest
|
||||
|
||||
pytest.importorskip("pty")
|
||||
|
||||
|
||||
def _load_harness_module():
|
||||
repo_root = Path(__file__).resolve().parents[2]
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import re
|
||||
|
||||
with open("src/tests/test_ai_tui_agent_harness.py", "r") as f:
|
||||
content = f.read()
|
||||
|
||||
new_content = re.sub(
|
||||
r"(import sys\n\nimport pytest)",
|
||||
r"import sys\n\nimport pytest\n\npytest.importorskip('pty')",
|
||||
content
|
||||
)
|
||||
|
||||
with open("src/tests/test_ai_tui_agent_harness.py", "w") as f:
|
||||
f.write(new_content)
|
||||
Reference in new issue
Block a user