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

zalando / connexion / 1271 / 3
97%
main: 97%

Build:
Build:
LAST BUILD BRANCH: feature/autoapi-class-docstring
DEFAULT BRANCH: main
Ran 05 Oct 2017 07:14AM UTC
Files 27
Run time 1s
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

05 Oct 2017 07:08AM UTC coverage: 100.0%. Remained the same
1271.3

push

travis-ci

hjacobs
Allow http.HTTPStatus enums as response status codes. (#504)

* Allow http.HTTPStatus enums as response status codes.

Python 3.5 introduced a new enumeration "http.HTTPStatus" for
representing HTTP response status codes. The default response validation
introduced in connexion 1.1.12 highlighted the fact that connexion does
not natively support this type and was previously silently ignoring
non-integer status code representations.

This modifies the response validation code to extract the value when
given an enum instead of an int. Somewhat hacky test code is added to
check for enum support on python versions that include
"http.HTTPStatus".

* [master]: Restructure tests from PR comments.

* [master]: Revert to exception based version checking.

This reverts to exception based python version checking for both tests,
due to the suggested unittest skipping alternative not being supported
in all python versions.

"unittest.case.SkipTest: Not supported in this version" is the error
reported.

* [master]: Move enum handling deeper into the stack.

* [master]: Respond to yet more PR comments.

1431 of 1431 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 1271.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1271
  • Travis Job 1271.3
  • 94f64b80 on github
  • Prev Job for on master (#1269.1)
  • Next Job for on master (#1277.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