← Về thư mục
tests/test_image_attachment_budget.py
- _Hub · class · L22-L30 — class _Hub
- init · method · L23-L24 — def init(self)
- emitter · method · L26-L27 — def emitter(self, root_frame_id)
- broadcast · method · L29-L30 — def broadcast(self, root_frame_id, event)
- _runner · function · L33-L38 — def _runner(tmp_path, hub)
- _annotations · function · L41-L45 — def _annotations(count)
- _install_fakes · function · L48-L65 — def _install_fakes(monkeypatch, runner, *, image_bytes)
- _content · function · L68-L69 — def _content(runner, state, annos)
- _vision · function · L73-L78 — def _vision(monkeypatch)
- test_the_number_of_attached_images_is_bounded_and_the_rest_are_named · function · L81-L114 — def test_the_number_of_attached_images_is_bounded_and_the_rest_are_named( tmp_path, monkeypatch, _vision )
- test_one_oversized_image_is_dropped_without_taking_the_others_with_it · function · L117-L146 — def test_one_oversized_image_is_dropped_without_taking_the_others_with_it( tmp_path, monkeypatch, _vision )
- test_the_total_budget_stops_before_the_wire_not_after · function · L149-L175 — def test_the_total_budget_stops_before_the_wire_not_after( tmp_path, monkeypatch, _vision )
- test_a_turn_within_budget_reports_nothing · function · L178-L191 — def test_a_turn_within_budget_reports_nothing(tmp_path, monkeypatch, _vision)