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

PulpQE / pulp-smash / 72 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2015 09:30PM UTC
Files 1
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

09 Nov 2015 09:18PM UTC coverage: 89.011%. Remained the same
72.1

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

0.89 hits per line

Source Files on job 72.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 72
  • Travis Job 72.1
  • 0bb104b1 on github
  • Prev Job for on master (#62.1)
  • Next Job for on master (#76.3)
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