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

DiamondLightSource / ispyb-api / 469 / 5
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix-dictionary-cursor-queries
DEFAULT BRANCH: master
Ran 24 Jan 2019 02:41PM UTC
Files 37
Run time 4s
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

24 Jan 2019 02:39PM UTC coverage: 81.962% (-0.7%) from 82.643%
469.5

Pull #64

travis-ci

web-flow
Move ispyb.exceptions to ispyb

and remove 'ISPyB' and 'Exception' from class names.

Currently we use the exceptions as in:
    try:
        (..)
    except ispyb.exception.ISPyBNoResultException:
        (..)
which is overly verbose:
* It contains the word 'ispyb' twice
* It contains the word 'exception' twice,
* which is completely pointless because anything in
  'except (..):' and 'raise (..)' must be an exception anyway.

Therefore move all exceptions from ispyb.exceptions into the ispyb main
class, giving them shorter names. ISPyBKeyProblem is replaced by the
python builtin KeyError. ispyb.exception remains available to import
until the next major release but will generate a deprecation warning on
import.
Pull Request #64: Move ispyb.exceptions to ispyb

1036 of 1264 relevant lines covered (81.96%)

0.82 hits per line

Source Files on job 469.5
  • Tree
  • List 0
  • Changed 8
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 400
  • Travis Job 469.5
  • 9b03cd2c on github
  • Prev Job for on move-exceptions (#468.5)
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