mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Added tests
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
2a42b77527
commit
be508cfea4
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
from slpkg.md5sum import md5
|
||||
|
||||
|
||||
def test_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"
|
||||
|
|
Loading…
Reference in a new issue