• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

robertdstein / snipergw / 34894629762
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: versionbump
DEFAULT BRANCH: main
Ran 14 Sep 2026 08:46PM UTC
Jobs 2
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Sep 2026 08:43PM UTC coverage: 97.734% (+52.1%) from 45.609%
34894629762

Pull #99

github

robertdstein
Construct WinterAPI lazily inside submit_too_winter

Replaces the previous fix (tests/__init__.py monkeypatching
WinterAPI's network-calling methods before test collection) with a
proper fix: winter = WinterAPI() was a module-level singleton, so
merely importing snipergw.submit.winter (pulled in transitively by
several modules) constructed it -- and its __init__ makes an
unguarded network call via check_version(), which just failed a CI
run with a connection timeout.

Moving the instantiation inside submit_too_winter (after the delete
check, so delete=True still short-circuits before any network call)
means importing the module has no side effects at all, and tests
mock the WinterAPI class directly rather than a pre-built singleton.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #99: Add unit tests for model, paths, run, skymap, and submit modules

5 of 5 new or added lines in 4 files covered. (100.0%)

1 existing line in 1 file now uncovered.

345 of 353 relevant lines covered (97.73%)

1.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.0
0.0% snipergw/plan.py
Jobs
ID Job ID Ran Files Coverage
1 34894629762.1 14 Sep 2026 08:46PM UTC 9
97.73
GitHub Action Run
2 34894629762.2 14 Sep 2026 08:46PM UTC 9
97.73
GitHub Action Run
Source Files on build 34894629762
  • Tree
  • List 9
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #99
  • PR Base - main (#34885846691)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc