From be508cfea477cddcf01c21f61b3281703ac8aa3f Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 18 Jan 2020 14:05:36 +0100 Subject: [PATCH] Added tests Signed-off-by: Dimitris Zlatanidis --- tests/test_md5sum.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_md5sum.py b/tests/test_md5sum.py index 9f5f0797..a3623d07 100644 --- a/tests/test_md5sum.py +++ b/tests/test_md5sum.py @@ -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"