push
github
7 of 7 new or added lines in 1 file covered. (100.0%)
19 existing lines in 7 files now uncovered.4846 of 4928 relevant lines covered (98.34%)
0.98 hits per line
1 |
{% for vpn in data.wireguard %}
|
1✔ |
2 |
# wireguard config: {{ vpn.name }}
|
|
3 |
|
1✔ |
4 |
[Interface] |
× |
5 |
{% for key, value in vpn.items() %}
|
1✔ |
6 |
{% if key not in ['name', 'peers'] %} |
1✔ |
7 |
{{ key }} = {{ value }} |
1✔ |
8 |
{% endif %} |
1✔ |
UNCOV
9
|
{% endfor %} |
× |
10 |
|
1✔ |
UNCOV
11
|
{% for peer in vpn.peers %}
|
× |
12 |
[Peer] |
1✔ |
13 |
{% for key, value in peer.items() %}
|
1✔ |
UNCOV
14
|
{% if value %}
|
× |
15 |
{{ key }} = {{ value }} |
1✔ |
16 |
{% endif %} |
1✔ |
17 |
{% endfor %} |
1✔ |
18 |
|
1✔ |
19 |
{% endfor %} |
1✔ |
UNCOV
20
|
{% endfor %} |
× |