diff --git a/tests/test_models_research.py b/tests/test_models_research.py index 30d43fb..43451d9 100644 --- a/tests/test_models_research.py +++ b/tests/test_models_research.py @@ -143,7 +143,8 @@ class ModelsResearch(unittest.TestCase): opus = "| opus | Anthropic | anthropic | host subagent `opus` | hard | flat | 5h: none; week: 10x Pro (https://example.test/c) | strong | |\n" self.assertEqual(self.record(HEAD + GO + HOST + opus + deep + FALL)[0], 0) # same provider may hold hard and deep from sisi import store # in-process picks read the list under the harness this run is in, not "unknown" - shutil.copy(offered(self.data, HEAD + GO + HOST + opus + deep + FALL), os.path.join(self.data, "offered", store.harness() + ".txt")) + listed, mine = offered(self.data, HEAD + GO + HOST + opus + deep + FALL), os.path.join(self.data, "offered", store.harness() + ".txt") + listed == mine or shutil.copy(listed, mine) # with no harness (CI) they are one file twin = deep.replace("fable", "fable2") self.assertEqual(self.record(HEAD + GO + opus + deep + twin + FALL)[0], 1) # two deep rows for one provider refused self.assertEqual(self.record(HEAD + GO + deep.replace("| deep |", "| hard, deep |") + FALL)[0], 1) # multi-class refused