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

DiamondLightSource / ispyb-api / 463
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix-dictionary-cursor-queries
DEFAULT BRANCH: master
Ran 23 Jan 2019 08:55PM UTC
Jobs 5
Files 37
Run time 38s
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

pending completion
463

push

travis-ci

Anthchirp
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.

37 of 37 new or added lines in 6 files covered. (100.0%)

1043 of 1267 relevant lines covered (82.32%)

4.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 463.1 23 Jan 2019 08:55PM UTC 0
82.16
Travis Job 463.1
2 463.2 23 Jan 2019 08:55PM UTC 0
81.93
Travis Job 463.2
3 463.3 23 Jan 2019 08:55PM UTC 0
81.93
Travis Job 463.3
4 463.4 23 Jan 2019 08:55PM UTC 0
81.93
Travis Job 463.4
5 463.5 23 Jan 2019 08:55PM UTC 0
81.93
Travis Job 463.5
Source Files on build 463
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #463
  • 4ed090c5 on github
  • Next Build on move-exceptions (#466)
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