web-app-followups: 46 отложенных пунктов веб-приложения (#29) #33

Merged
aep merged 19 commits from feat/29-web-app-followups into main 2026-10-15 09:22:27 +03:00
Showing only changes of commit 091acda286 - Show all commits

View File

@ -158,7 +158,7 @@ def test_bad_requests(hub):
with pytest.raises(HubError) as e:
c.get("/issues", limit="abc")
assert e.value.status == 400
req =urllib.request.Request(hub["base"] + "/batches", data=b"{not json", method="POST",
req = urllib.request.Request(hub["base"] + "/batches", data=b"{not json", method="POST",
headers={"Authorization": "Bearer " + c.token})
with pytest.raises(urllib.error.HTTPError) as e2:
urllib.request.urlopen(req)