Files
coverage-comment-action/tests/test_code.py

15 lines
208 B
Python
Raw Normal View History

2021-07-24 00:06:05 +02:00
import pytest
from . import code
2021-07-24 00:12:23 +02:00
@pytest.mark.parametrize(
"arg, expected",
[
(None, "a"),
(True, "b"),
],
)
2021-07-24 00:06:05 +02:00
def test_code(arg, expected):
assert code.code(arg) == expected