slpkg/tests/test_md5sum.py
Dimitris Zlatanidis 0c1ef40bd0 Updated tests
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
2020-01-18 16:32:29 +01:00

11 lines
No EOL
272 B
Python

from slpkg.md5sum import md5
def test_md5_superuser():
result = md5('slpkg/superuser.py')
assert result == "e6cebdf37fbc1b8e9d3c5e3e53b300c1"
def test_md5_security():
result = md5('slpkg/security.py')
assert result == "d395d2fcf1c7b1a91ef6ce3dc8eb047b"