push
circleci
2 of 11 new or added lines in 3 files covered. (18.18%)
1398 existing lines in 78 files now uncovered.16709 of 34306 relevant lines covered (48.71%)
1.25 hits per line
UNCOV
1
|
import pytest |
1✔ |
2 |
|
|
UNCOV
3
|
from bpp.templatetags.prace import close_tags |
1✔ |
4 |
|
|
5 |
|
|
UNCOV
6
|
@pytest.mark.parametrize(
|
1✔ |
7 |
"i,o",
|
|
8 |
[ |
|
9 |
("test<x", "test<x/>"), |
|
10 |
("test<test", "test<test/>"), |
|
11 |
("test<strong>", "test<strong/>"), |
|
12 |
(None, None), |
|
13 |
("", ""), |
|
14 |
], |
|
15 |
) |
|
UNCOV
16
|
def test_close_tags(i, o): |
1✔ |
17 |
assert close_tags(i) == o
|
× |
18 |
|
|
19 |
|
|
UNCOV
20
|
@pytest.mark.parametrize(
|
1✔ |
21 |
"i,o",
|
|
22 |
[ |
|
23 |
("test<", "test<"), |
|
24 |
], |
|
25 |
) |
|
UNCOV
26
|
def test_close_tags_on_darwin(i, o): |
1✔ |
27 |
assert close_tags(i) == o
|
× |