mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
055145f2bb
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
15 lines
380 B
Python
15 lines
380 B
Python
from slpkg.md5sum import md5
|
|
|
|
|
|
def test_md5_superuser():
|
|
"""Testing checksum for superuser.py file
|
|
"""
|
|
result = md5('slpkg/superuser.py')
|
|
assert result == "c6a3576c247bda199c75b43540bfc3d7"
|
|
|
|
|
|
def test_md5_security():
|
|
"""Testing checksum for security.py file
|
|
"""
|
|
result = md5('slpkg/security.py')
|
|
assert result == "eb8dbea4dec6d72353d30475670389f0"
|