cherrypy/test/test_config.py
changed.
Showing 1 of 1 files from the diff.
@@ -221,8 +221,8 @@
Loading
221 | 221 | # the favicon in the page handler to be '../favicon.ico', |
|
222 | 222 | # but then overrode it in config to be './static/dirback.jpg'. |
|
223 | 223 | self.getPage('/favicon.ico') |
|
224 | - | with open(os.path.join(localDir, 'static/dirback.jpg'),'rb') as testfile: |
|
225 | - | self.assertBody(testfile.read()) |
|
224 | + | with open(os.path.join(localDir, 'static/dirback.jpg'), 'rb') as tf: |
|
225 | + | self.assertBody(tf.read()) |
|
226 | 226 | ||
227 | 227 | def test_request_body_namespace(self): |
|
228 | 228 | self.getPage('/plain', method='POST', headers=[ |
Files | Coverage |
---|---|
cherrypy | 80.06% |
Project Totals (104 files) | 80.06% |
1176.0
d2t225jr43uv687b
1176.0
0owl45lyr5ew8fcd
1176.0
dcgry9qmj888dumw
1177.0
1177.0
1177.0
1 |
codecov: |
2 |
bot: codecov |
3 |
notify: |
4 |
require_ci_to_pass: yes |
5 |
|
6 |
coverage: |
7 |
precision: 2 |
8 |
round: down |
9 |
range: "70...100" |
10 |
|
11 |
status: |
12 |
# Only consider coverage of the code snippet changed in PR
|
13 |
project: no |
14 |
patch: yes |
15 |
changes: no |
16 |
|
17 |
parsers: |
18 |
gcov: |
19 |
branch_detection: |
20 |
conditional: yes |
21 |
loop: yes |
22 |
method: no |
23 |
macro: no |
24 |
|
25 |
comment: |
26 |
layout: "header, diff" |
27 |
behavior: default |
28 |
require_changes: no |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.