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

openvax / datacache
74%
master: 79%

Build:
Build:
LAST BUILD BRANCH: fix-flaky-download-test
DEFAULT BRANCH: master
Repo Added 20 Feb 2018 04:12AM UTC
Files 9
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

LAST BUILD ON BRANCH fix-40-assert-to-raise
branch: fix-40-assert-to-raise
CHANGE BRANCH
x
Reset
  • fix-40-assert-to-raise
  • adding-timeout-parameter-and-removing-fasta-helpers
  • fix-17-quote-sql-identifiers
  • fix-45-sqlite-cross-thread
  • fix-49-streaming-download
  • fix-flaky-download-test
  • fix-lint
  • fix-releasing-docs
  • master
  • migrate-pyproject-toml
  • modernize-py3
  • release-1.6.0
  • try-using-wget

18 Jun 2026 05:32PM UTC coverage: 73.821% (-0.9%) from 74.702%
27777669405

Pull #51

github

iskandr
Fix #40: replace runtime asserts with explicit exceptions

assert statements are stripped when Python runs with -O, so they must not
be used for validation that needs to hold in production. Replace the five
runtime asserts in cache.py, common.py, database_table.py and download.py
with explicit if/raise checks (ValueError for bad input, RuntimeError for
a violated postcondition).

Claude-Session: https://claude.ai/code/session_011bzfZPTzWnhAMVD7msyMg1
Pull Request #51: Fix #40: replace runtime asserts with explicit exceptions

2 of 10 new or added lines in 4 files covered. (20.0%)

2 existing lines in 2 files now uncovered.

313 of 424 relevant lines covered (73.82%)

2.21 hits per line

Relevant lines Covered
Build:
Build:
424 RELEVANT LINES 313 COVERED LINES
2.21 HITS PER LINE
Source Files on fix-40-assert-to-raise
  • Tree
  • List 9
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27777669405 fix-40-assert-to-raise Fix #40: replace runtime asserts with explicit exceptions assert statements are stripped when Python runs with -O, so they must not be used for validation that needs to hold in production. Replace the five runtime asserts in cache.py, common.py, ... Pull #51 18 Jun 2026 05:32PM UTC iskandr github
73.82
See All Builds (59)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc