Ran
|
Files
20
|
Run time
2s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/projectatomic/osbs-client/commit/<a class=hub.com/projectatomic/osbs-client/commit/b2f8bc893ede622f42e09618b78fc141cefa4ea4">b2f8bc893<a href="https://github.com/projectatomic/osbs-client/commit/b2f8bc893ede622f42e09618b78fc141cefa4ea4">">Make the get_build_logs API method also return encoded bytes To achieve this, stop using the response&#39;s &#39;text&#39; property which attempts automatic decoding (and gets it wrong) and instead use &#39;content&#39;. When handling JSON data, determine the encoding in use using requests.utils.guess_json_utf(). Signed-off-by: Tim Waugh &lt;twaugh@redhat.com> (cherry picked from commit </a><a class="double-link" href="https://github.com/projectatomic/osbs-client/commit/<a class="double-link" href="https://github.com/projectatomic/osbs-client/commit/e5d6ddef9d9619cd44f3100914b8949137095907">e5d6ddef9</a>">e5d6ddef9</a><a href="https://github.com/projectatomic/osbs-client/commit/b2f8bc893ede622f42e09618b78fc141cefa4ea4">) Signed-off-by: Tim Waugh <twaugh@redhat.com>
2601 of 3396 relevant lines covered (76.59%)
0.77 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|