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

PulpQE / pulp-smash / 408
63%

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2016 07:52PM UTC
Jobs 4
Files 6
Run time 15s
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
408

push

travis-ci

Ichimonji10
Edit tests for the HTTP Location header

According to RFC 7231, the HTTP Location header may be either an
absolute or relative URL. Thus, given this request:

    GET /index.html HTTP/1.1
    Host: www.example.com

These two responses are equivalent:

    HTTP/1.1 302 FOUND
    Location: http://www.example.com/index.php

    HTTP/1.1 302 FOUND
    Location: /index.php

Update tests to abide by the RFC and allow Pulp to return either
absolute or relative URLs. This change does not affect test results on
the author's test systems, and should fix spurious test failures on some
systems. Test results generated with:

    python -m unittest2 \
        pulp_smash.tests.rpm.api_v2.test_iso_crud.CreateTestCase \
        pulp_smash.tests.platform.api_v2.test_repository.CreateSuccessTestCase

Related to https://github.com/PulpQE/pulp-smash/issues/167

302 of 411 relevant lines covered (73.48%)

2.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 408.1 31 Mar 2016 07:52PM UTC 0
73.48
Travis Job 408.1
2 408.2 31 Mar 2016 07:52PM UTC 0
73.48
Travis Job 408.2
3 408.3 31 Mar 2016 07:52PM UTC 0
73.48
Travis Job 408.3
4 408.4 31 Mar 2016 07:52PM UTC 0
73.48
Travis Job 408.4
Source Files on build 408
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #408
  • c5ce2353 on github
  • Prev Build on master (#406)
  • Next Build on master (#409)
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