Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

CI: Fix test_startup_commands

Kilian Lieret53e716ebc95c
diff --git a/tests/test_env.py b/tests/test_env.py
index 12841813..5094b95a 100644
--- a/tests/test_env.py
+++ b/tests/test_env.py
@@ -27,7 +27,7 @@ def test_init_swe_env_conservative_clone(test_env_args):
@pytest.mark.slow
def test_startup_commands(test_env_args):
test_script = "echo 'hello world'"
- test_env_args.startup_commands = [test_script]
+ test_env_args.post_startup_commands = [test_script]
with swe_env_context(test_env_args):
pass