tests.test_sponsor module¶
Tests for repomatic.github.sponsor.
- tests.test_sponsor.test_iter_sponsors_reads_every_page_with_one_query()[source]¶
User and organization owners share one query, walked page by page.
- tests.test_sponsor.test_is_sponsor_stops_at_the_first_match()[source]¶
A sponsor found on the first page spares the read of the next ones.
- tests.test_sponsor.test_is_sponsor_reads_a_failed_query_as_no()[source]¶
An API outage never fails the job: the author reads as no sponsor.