mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
100
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// Single integration test binary that aggregates all test modules.
|
||||
// The submodules live in `tests/suite/`.
|
||||
// exec/tests/all.rs
|
||||
mod suite;
|
||||
|
||||
mod event_processor_with_json_output;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
class BaseClass:
|
||||
def method():
|
||||
# exec/tests/fixtures/apply_patch_freeform_final.txt
|
||||
|
||||
return True
|
||||
|
||||
@@ -34,6 +34,7 @@ async fn accepts_add_dir_flag() -> anyhow::Result<()> {
|
||||
.assert()
|
||||
.code(0);
|
||||
|
||||
// exec/tests/suite/add_dir.rs
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ async fn test_apply_patch_tool() -> anyhow::Result<()> {
|
||||
sse(vec![
|
||||
ev_apply_patch_function_call("request_1", update_patch),
|
||||
ev_completed("request_1"),
|
||||
// exec/tests/suite/apply_patch.rs
|
||||
]),
|
||||
sse(vec![ev_completed("request_2")]),
|
||||
];
|
||||
|
||||
@@ -14,6 +14,7 @@ async fn exec_uses_codex_api_key_env_var() -> anyhow::Result<()> {
|
||||
let repo_root = find_resource!(".")?;
|
||||
|
||||
mount_sse_once_match(
|
||||
// exec/tests/suite/auth_env.rs
|
||||
&server,
|
||||
header("Authorization", "Bearer dummy"),
|
||||
sse(vec![ev_completed("request_0")]),
|
||||
|
||||
Reference in New Issue
Block a user