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 unittest for image name (#1031)

Kilian Lieret3d99e925ca39
diff --git a/tests/test_batch_instance.py b/tests/test_batch_instance.py
index 08c33020..c1184f85 100644
--- a/tests/test_batch_instance.py
+++ b/tests/test_batch_instance.py
@@ -16,7 +16,7 @@ def test_simple_batch_from_swe_bench_to_full_batch_instance(test_data_sources_pa
assert isinstance(instance.env.repo, PreExistingRepoConfig)
assert instance.env.repo.repo_name == "testbed"
assert isinstance(instance.env.deployment, DockerDeploymentConfig)
- assert instance.env.deployment.image == "swebench/sweb.eval.x86_64.pydicom_1776_pydicom-1458:v1"
+ assert instance.env.deployment.image == "swebench/sweb.eval.x86_64.pydicom_1776_pydicom-1458:latest"
assert isinstance(instance.problem_statement, TextProblemStatement)
assert instance.problem_statement.text == sb_instance["problem_statement"]
assert instance.problem_statement.id == "pydicom__pydicom-1458"