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

PulpQE / pulp-smash / 72
63%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2015 09:29PM UTC
Jobs 4
Files 1
Run time 11s
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
72

push

travis-ci

Ichimonji10
Add tests for Pulp's searching facilities

Fix #19: "Expand GET/POST search tests"

Add a new module, `pulp_smash.tests.platform.api_v2.test_search`:

> """Test Pulp's `Searching`_ facilities.
>
> The tests in this module make use of the `User APIs`_. However, few
> user-specific references are made. These tests could be rewritten to use
> repositories or something else with only minimal changes. Thus, the name of
> this module.
>
> Each test case executes one or more pair of semantically identical POST and GET
> requests. Each pair of search results should match exactly.

Beware that the tests are slightly doctored to achieve these results. When
searching for users, search results do not contain an "id" attribute. The
affected tests work around this issue by referencing `['_id']['$oid']` instead.

Test results:

    $ python -m unittest2 pulp_smash.tests.platform.api_v2.test_search
    ssss............
    ----------------------------------------------------------------------
    Ran 16 tests in 16.521s

    OK (skipped=4)

81 of 91 relevant lines covered (89.01%)

3.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 72.1 09 Nov 2015 09:30PM UTC 0
89.01
Travis Job 72.1
2 72.2 09 Nov 2015 09:29PM UTC 0
89.01
Travis Job 72.2
3 72.3 09 Nov 2015 09:29PM UTC 0
89.01
Travis Job 72.3
4 72.4 09 Nov 2015 09:29PM UTC 0
89.01
Travis Job 72.4
Source Files on build 72
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #72
  • 0bb104b1 on github
  • Prev Build on master (#62)
  • Next Build on master (#76)
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