mooncak397 Claude Opus 5.5 commited on
Commit ·
d12b9b6
1
Parent(s): 5d71f7b
tests: relocation test uses the matching turn language
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tests/test_graph.py +1 -1
tests/test_graph.py
CHANGED
|
@@ -177,7 +177,7 @@ def test_dictated_discretion_claim_in_inmail_becomes_idk(dictated):
|
|
| 177 |
|
| 178 |
@pytest.mark.parametrize("k", ["reloc_en", "reloc_de"])
|
| 179 |
def test_relocation_sentence_alone_passes(k):
|
| 180 |
-
assert answer(FakeModel(reply=AIMessage(FS[k]))) == FS[k]
|
| 181 |
|
| 182 |
|
| 183 |
def test_fixed_sentence_plus_meta_text_keeps_only_the_sentence():
|
|
|
|
| 177 |
|
| 178 |
@pytest.mark.parametrize("k", ["reloc_en", "reloc_de"])
|
| 179 |
def test_relocation_sentence_alone_passes(k):
|
| 180 |
+
assert answer(FakeModel(lang=k[-2:], reply=AIMessage(FS[k]))) == FS[k]
|
| 181 |
|
| 182 |
|
| 183 |
def test_fixed_sentence_plus_meta_text_keeps_only_the_sentence():
|