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

zalando / connexion / 1271
97%
main: 97%

Build:
Build:
LAST BUILD BRANCH: feature/autoapi-class-docstring
DEFAULT BRANCH: main
Ran 05 Oct 2017 07:12AM UTC
Jobs 5
Files 27
Run time 7min
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
1271

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%)

5.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1271.1 05 Oct 2017 07:20AM UTC 0
100.0
Travis Job 1271.1
2 1271.2 05 Oct 2017 07:14AM UTC 0
100.0
Travis Job 1271.2
3 1271.3 05 Oct 2017 07:14AM UTC 0
100.0
Travis Job 1271.3
4 1271.4 05 Oct 2017 07:14AM UTC 0
100.0
Travis Job 1271.4
5 1271.5 05 Oct 2017 07:12AM UTC 0
100.0
Travis Job 1271.5
Source Files on build 1271
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1271
  • 94f64b80 on github
  • Prev Build on master (#1269)
  • Next Build on master (#1277)
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