Updated pytest requirements

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2020-01-15 01:16:49 +01:00
parent d8cc26a44a
commit 342e2d58be
3 changed files with 1 additions and 4 deletions

View file

@ -16,8 +16,6 @@ flake8:
unit_test: unit_test:
stage: Test stage: Test
script: script:
- pwd
- ls -l
- export PYTHONPATH="$PYTHONPATH:." - export PYTHONPATH="$PYTHONPATH:."
- python -c "import sys;print(sys.path)" - python -c "import sys;print(sys.path)"
- pytest - pytest

View file

@ -13,4 +13,4 @@
urllib3 >= 1.25.7 urllib3 >= 1.25.7
flake8 >= 3.5.0 flake8 >= 3.5.0
pytest >= 5.3.0 pytest >= 5.3.2

View file

@ -1,7 +1,6 @@
from slpkg.md5sum import md5 from slpkg.md5sum import md5
def test_md5(): def test_md5():
result = md5('slpkg/superuser.py') result = md5('slpkg/superuser.py')
assert result == "e6cebdf37fbc1b8e9d3c5e3e53b300c1" assert result == "e6cebdf37fbc1b8e9d3c5e3e53b300c1"