Pin that Phenom is asked for the agents' world when they want remote, with or without All locations

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-10-06 14:03:09 +02:00
1 parent 49929372c7
commit c6730062fd
1 file changed
+3 -5
+3 -5
View File
@@ -62,11 +62,9 @@ def test_the_four_combinations(store: Store, countries: bool, roles: bool, line:
store.set_all_roles("philips", roles)
ask, said = _read(store, PHILIPS)
assert said == line
# Phenom asks for countries, many in one request, and not for remote.
if countries:
assert {"DE", "FR", "DK", "SE"} <= set(ask.countries) and len(ask.countries) > 30
else:
assert ask.countries == ("DK", "SE")
# Phenom asks for countries, many in one request, and not for remote: so
# the agents want remote, it is asked for their world either way.
assert {"DE", "FR", "DK", "SE"} <= set(ask.countries) and len(ask.countries) > 30
# Terms go to every big board, and never to a company set to All roles.
assert ask.terms == (() if roles else ("data", "engineer", "product"))