☰
Debian Codegraph
@
26.0.0-2
/
/
tests
/
legacy
/
test_helpers.py
☽
☼
tests/legacy/test_helpers.py
code
plain
raw
MIT
2020-2022 Joakim Sørensen @ludeeus
debian/copyright
1
from aiogithubapi.helpers import short_message, short_sha
2
3
4
def test_short_sha():
5
assert short_sha("123456789") == "1234567"
6
7
8
def test_short_message():
9
assert short_message("show\nno show") == "show"