mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Updated pytest requirements
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
d8cc26a44a
commit
342e2d58be
3 changed files with 1 additions and 4 deletions
|
@ -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
|
|
@ -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
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue