Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P477
(An Untitled Masterwork)
Active
Public
Actions
Authored by
nahimilega
on Jul 19 2019, 9:48 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
(swh) archit@work-pc:~/swh-environment/swh-loader-core/swh/loader/gnu$ tox .
GLOB sdist-make: /home/archit/swh-environment/swh-loader-core/setup.py
flake8 installed: entrypoints==0.3,flake8==3.7.8,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1,swh.loader.core==0.0.44.post2
flake8 run-test-pre: PYTHONHASHSEED='1804426209'
flake8 run-test: commands[0] | /home/archit/swh-environment/swh-loader-core/.tox/flake8/bin/python -m flake8
./pp.py:12:1: W191 indentation contains tabs
./pp.py:13:1: W191 indentation contains tabs
./pp.py:15:1: W191 indentation contains tabs
./pp.py:16:1: W191 indentation contains tabs
[ some lintering errors]
./swh/loader/gnu/tests/comman.py:54:1: E302 expected 2 blank lines, found 1
./swh/loader/gnu/tests/comman.py:87:4: W292 no newline at end of file
ERROR: InvocationError for command /home/archit/swh-environment/swh-loader-core/.tox/flake8/bin/python -m flake8 (exited with code 1)
py3 inst-nodeps: /home/archit/swh-environment/swh-loader-core/.tox/.tmp/package/1/swh.loader.core-0.0.44.post2.zip
py3 installed: aiohttp==3.5.4,aiohttp-utils==3.1.1,arrow==0.14.2,async-timeout==3.0.1,atomicwrites==1.3.0,attrs==19.1.0,certifi==2019.6.16,chardet==3.0.4,Click==7.0,coverage==4.5.3,decorator==4.4.0,Deprecated==1.2.6,Flask==1.1.1,gunicorn==19.9.0,hypothesis==4.28.2,idna==2.8,importlib-metadata==0.18,itsdangerous==1.1.0,Jinja2==2.10.1,MarkupSafe==1.1.1,more-itertools==7.1.0,msgpack==0.6.1,multidict==4.5.2,packaging==19.0,pluggy==0.12.0,psutil==5.6.3,psycopg2==2.8.3,py==1.8.0,pyparsing==2.4.0,pytest==5.0.1,pytest-cov==2.7.1,python-dateutil==2.8.0,python-mimeparse==1.6.0,PyYAML==5.1.1,requests==2.22.0,requests-mock==1.6.0,retrying==1.3.3,six==1.12.0,swh.core==0.0.65,swh.loader.core==0.0.44.post2,swh.model==0.0.39,swh.objstorage==0.0.34,swh.storage==0.0.147,systemd-python==234,urllib3==1.25.3,vcversioner==2.16.0.0,wcwidth==0.1.7,Werkzeug==0.15.5,wrapt==1.11.2,yarl==1.3.0,zipp==0.5.2
py3 run-test-pre: PYTHONHASHSEED='1804426209'
py3 run-test: commands[0] | pytest --cov=swh --cov-branch swh/loader/gnu
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-5.0.1, py-1.8.0, pluggy-0.12.0
cachedir: .tox/py3/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/archit/swh-environment/swh-loader-core/.hypothesis/examples')
rootdir: /home/archit/swh-environment/swh-loader-core, inifile: pytest.ini
plugins: hypothesis-4.28.2, cov-2.7.1, requests-mock-1.6.0
collected 0 items / 1 errors
==================================== ERRORS ====================================
____________ ERROR collecting swh/loader/gnu/tests/test_download.py ____________
ImportError while importing test module '/home/archit/swh-environment/swh-loader-core/swh/loader/gnu/tests/test_download.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
swh/loader/gnu/tests/test_download.py:8: in <module>
from swh.loader.gnu.loader import GNULoader
E ModuleNotFoundError: No module named 'swh.loader.gnu'
----------- coverage: platform linux, python 3.7.3-final-0 -----------
Name Stmts Miss Branch BrPart Cover
----------------------------------------------------------------------------
swh/__init__.py 1 1 0 0 0%
swh/loader/__init__.py 1 1 0 0 0%
swh/loader/base/__init__.py 0 0 0 0 100%
swh/loader/base/build_revision.py 33 33 2 0 0%
swh/loader/base/dowload.py 105 105 40 0 0%
swh/loader/base/loader.py 171 171 28 0 0%
swh/loader/base/revision.py 32 32 2 0 0%
swh/loader/core/__init__.py 0 0 0 0 100%
swh/loader/core/converters.py 14 14 6 0 0%
swh/loader/core/loader.py 388 388 107 0 0%
swh/loader/core/queue.py 68 68 10 0 0%
swh/loader/core/tests/__init__.py 79 79 27 0 0%
swh/loader/core/tests/test_converters.py 48 48 0 0 0%
swh/loader/core/tests/test_loader.py 144 144 6 0 0%
swh/loader/core/tests/test_queue.py 62 62 4 0 0%
swh/loader/core/tests/test_tests.py 49 49 0 0 0%
swh/loader/core/tests/test_utils.py 39 39 4 0 0%
swh/loader/core/utils.py 23 23 14 0 0%
swh/loader/gnu/tests/test_download.py 20 17 2 0 14%
----------------------------------------------------------------------------
TOTAL 1277 1274 252 0 1%
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.27 seconds ============================
ERROR: InvocationError for command /home/archit/swh-environment/swh-loader-core/.tox/py3/bin/pytest --cov=swh --cov-branch swh/loader/gnu (exited with code 2)
___________________________________ summary ____________________________________
ERROR: flake8: commands failed
ERROR: py3: commands failed
Event Timeline
nahimilega
created this paste.
Jul 19 2019, 9:48 AM
2019-07-19 09:48:14 (UTC+2)
nahimilega
created this object in space
S1 Public
.
Log In to Comment