mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-17 03:59:28 +00:00
feat(scan): add initial SAST pipeline
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from pathlib import Path
|
||||
|
||||
from openultrasast.config import load_config
|
||||
from openultrasast.run import create_scan_run
|
||||
|
||||
|
||||
def test_create_scan_run_writes_directories_and_config(tmp_path: Path) -> None:
|
||||
run = create_scan_run(tmp_path, load_config(None))
|
||||
|
||||
assert run.root.exists()
|
||||
assert (run.root / "preprocess").is_dir()
|
||||
assert (run.root / "resolved_config.json").is_file()
|
||||
assert run.root.parent.name == "runs"
|
||||
Reference in New Issue
Block a user