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

PulpQE / pulp-smash / 508
63%

Build:
DEFAULT BRANCH: master
Ran 04 May 2016 03:26PM UTC
Jobs 4
Files 6
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
508

push

travis-ci

Ichimonji10
Change expected configuration file contents

Fix https://github.com/PulpQE/pulp-smash/issues/224

It's technically already possible to create test cases that target both
a Pulp server and a Pulp agent. However, there is not proper
documentation for how to do this. Create such.

The most significant change in this commit regards the contents of
configuration files. Configuration files may now have two sections.
Here's what `python -m pulp_smash` has to say about the topic:

> The configuration file should have this structure:
>
>     {
>         "pulp": {
>             "base_url": "https://pulp.example.com",
>             "auth": ["username", "password"],
>             "verify": true,
>             "version": "2.7.5",
>             "cli_transport": "local"
>         },
>         "pulp agent": {
>             "base_url": "https://pulp-agent.example.com"
>         }
>     }
>
> Each section provides information about a single Pulp-related service
> and the host on which that service is installed. The "pulp" and "pulp
> agent" sections tell about the Pulp and Pulp Agent services,
> respectively. The former is required. The latter is optional, and if
> omitted, relevant tests are skipped.

The assertion that "relevant tests are skipped" will only hold true if
individual test tests (or test modules) implement such checks. A proof
of concept showing that this can be done has been written.

If a user calls `ServerConfig.read`, does not specify which
configuration file section to read, and the configuration file has a
single section named `default`, then that section is read and a
deprecation warning is raised.

357 of 508 relevant lines covered (70.28%)

2.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 508.1 04 May 2016 03:27PM UTC 0
70.28
Travis Job 508.1
2 508.2 04 May 2016 03:26PM UTC 0
70.28
Travis Job 508.2
3 508.3 04 May 2016 03:26PM UTC 0
70.28
Travis Job 508.3
4 508.4 04 May 2016 03:26PM UTC 0
70.28
Travis Job 508.4
Source Files on build 508
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #508
  • 4e2e2b36 on github
  • Prev Build on master (#505)
  • Next Build on master (#510)
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