Expect limits, board_open and the full reader declaration in the exact-row tests
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
750d3d1311
commit
0ad47605fd
2 files changed
+7
-3
No files matched your search
+3
-2
@@ -605,7 +605,7 @@ def test_companies_lists_board_and_open_role_count(
|
||||
"from_search": False, "hand_reason": "", "by_hand": False,
|
||||
"all_countries": False, "all_roles": False,
|
||||
"reach_params": {}, "reach": "size not known yet: sized on the next pull",
|
||||
"size": None, "size_checked": ""}
|
||||
"size": None, "size_checked": "", "limits": ["read whole"], "board_open": 1}
|
||||
[other] = [c for c in res.json() if c["key"] == "other"]
|
||||
assert (other["board"], other["subscription_id"], other["on"], other["ats"]) == (
|
||||
"", None, None, "")
|
||||
@@ -1456,7 +1456,8 @@ def test_a_company_is_added_by_hand_with_a_reason_and_a_link(
|
||||
"country": "", "city": "", "watch": None, "careers_opened_at": "",
|
||||
"failing_since": "", "failing_reason": "", "from_search": False,
|
||||
"hand_reason": "added", "by_hand": True, "all_countries": False, "all_roles": False,
|
||||
"reach_params": {}, "reach": "", "size": None, "size_checked": ""}
|
||||
"reach_params": {}, "reach": "", "size": None, "size_checked": "", "limits": [],
|
||||
"board_open": None}
|
||||
assert store.company("revolut").hand_reason == "added" # type: ignore[union-attr]
|
||||
|
||||
other = client.post("/api/companies", json={"name": "Meta", "hand_reason": "blocked"})
|
||||
|
||||
Reference in new issue
Block a user