Ran
|
Files
16
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
travis-ci
tests: use testpkg fixture in localbuild test The localbuild operation calls util.package_name(), and this method expects to be at the root of a Git directory (as of d833d56d7). This means the tests fail when running outside of rhcephpkg.git (say, in pbuilder with pybuild.) Instead of monkeypatching further, use the testpkg fixture for this test. This means we have to tweak the expected behavior slightly (default distro becomes "xenial" instead of "trusty"), because the debian branch is ceph-2-ubuntu in that fixture, and get_distro() returns xenial for that.
813 of 905 relevant lines covered (89.83%)
0.9 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|