(swh) archit@work-pc:~/swh-environment/swh-lister/swh/lister/packagist$ tox --recreate . GLOB sdist-make: /home/archit/swh-environment/swh-lister/setup.py flake8 recreate: /home/archit/swh-environment/swh-lister/.tox/flake8 flake8 installdeps: flake8 flake8 installed: entrypoints==0.3,flake8==3.7.7,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1,swh.lister==0.0.25.post1 flake8 run-test-pre: PYTHONHASHSEED='1896029413' flake8 runtests: commands[0] | /home/archit/swh-environment/swh-lister/.tox/flake8/bin/python -m flake8 py3 recreate: /home/archit/swh-environment/swh-lister/.tox/py3 py3 installdeps: swh.core[http] >= 0.0.61, .[testing], pytest-cov py3 inst: /home/archit/swh-environment/swh-lister/.tox/.tmp/package/1/swh.lister-0.0.25.post1.zip py3 installed: aiohttp==3.5.4,amqp==2.5.0,arrow==0.14.2,async-timeout==3.0.1,atomicwrites==1.3.0,attrs==19.1.0,billiard==3.6.0.0,celery==4.3.0,certifi==2019.3.9,chardet==3.0.4,Click==7.0,coverage==4.5.3,decorator==4.4.0,elasticsearch==7.0.2,Flask==1.0.3,hypothesis==4.24.3,idna==2.8,idna-ssl==1.1.0,importlib-metadata==0.18,iso8601==0.1.12,itsdangerous==1.1.0,Jinja2==2.10.1,kombu==4.6.1,MarkupSafe==1.1.1,mirakuru==1.1.0,more-itertools==7.0.0,msgpack==0.6.1,multidict==4.5.2,passlib==1.7.1,pg8000==1.13.1,pluggy==0.12.0,port-for==0.4,psutil==5.6.3,psycopg2==2.8.3,py==1.8.0,pytest==3.10.1,pytest-cov==2.7.1,pytest-postgresql==1.4.1,python-dateutil==2.8.0,python-debian==0.1.35,pytz==2019.1,PyYAML==5.1.1,requests==2.22.0,requests-mock==1.6.0,six==1.12.0,SQLAlchemy==1.3.4,swh.core==0.0.63,swh.lister==0.0.25.post1,swh.model==0.0.37,swh.objstorage==0.0.33,swh.scheduler==0.0.56,swh.storage==0.0.142,systemd-python==234,testing.common.database==2.0.3,testing.postgresql==1.3.0,typing-extensions==3.7.2,urllib3==1.25.3,vcversioner==2.16.0.0,vine==1.3.0,Werkzeug==0.15.4,xmltodict==0.12.0,yarl==1.3.0,zipp==0.5.1 py3 run-test-pre: PYTHONHASHSEED='1896029413' py3 runtests: commands[0] | pytest --cov=swh --cov-branch swh/lister/packagist ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-3.10.1, py-1.8.0, pluggy-0.12.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/archit/swh-environment/swh-lister/.hypothesis/examples') rootdir: /home/archit/swh-environment/swh-lister, inifile: pytest.ini plugins: cov-2.7.1, postgresql-1.4.1, hypothesis-4.24.3, requests-mock-1.6.0, celery-4.3.0 collected 3 items swh/lister/packagist/tests/test_lister.py . [ 33%] swh/lister/packagist/tests/test_tasks.py .. [100%] ----------- coverage: platform linux, python 3.6.7-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------------------- swh/__init__.py 1 0 0 0 100% swh/lister/__init__.py 0 0 0 0 100% swh/lister/_version.py 3 0 0 0 100% swh/lister/bitbucket/__init__.py 0 0 0 0 100% swh/lister/bitbucket/lister.py 41 25 14 0 29% swh/lister/bitbucket/models.py 6 0 0 0 100% swh/lister/bitbucket/tasks.py 27 16 2 0 38% swh/lister/bitbucket/tests/__init__.py 0 0 0 0 100% swh/lister/bitbucket/tests/conftest.py 1 1 0 0 0% swh/lister/bitbucket/tests/test_bb_lister.py 18 18 0 0 0% swh/lister/bitbucket/tests/test_tasks.py 51 51 8 0 0% swh/lister/cli.py 87 87 36 0 0% swh/lister/core/__init__.py 0 0 0 0 100% swh/lister/core/abstractattribute.py 5 0 2 1 86% swh/lister/core/db_utils.py 10 10 0 0 0% swh/lister/core/indexing_lister.py 91 72 38 0 15% swh/lister/core/lister_base.py 170 121 48 0 22% swh/lister/core/lister_transports.py 89 59 10 0 30% swh/lister/core/models.py 28 2 0 0 93% swh/lister/core/page_by_page_lister.py 46 35 14 0 18% swh/lister/core/simple_lister.py 28 21 6 0 21% swh/lister/core/tests/__init__.py 0 0 0 0 100% swh/lister/core/tests/conftest.py 4 0 0 0 100% swh/lister/core/tests/test_abstractattribute.py 40 40 0 0 0% swh/lister/core/tests/test_lister.py 156 156 22 0 0% swh/lister/core/tests/test_model.py 56 56 0 0 0% swh/lister/cran/__init__.py 0 0 0 0 100% swh/lister/cran/lister.py 39 22 6 0 38% swh/lister/cran/models.py 6 0 0 0 100% swh/lister/cran/tasks.py 6 2 0 0 67% swh/lister/cran/tests/__init__.py 0 0 0 0 100% swh/lister/cran/tests/conftest.py 1 1 0 0 0% swh/lister/cran/tests/test_tasks.py 17 17 0 0 0% swh/lister/debian/__init__.py 0 0 0 0 100% swh/lister/debian/lister.py 104 77 32 1 21% swh/lister/debian/tasks.py 6 2 0 0 67% swh/lister/debian/tests/__init__.py 0 0 0 0 100% swh/lister/debian/tests/conftest.py 1 1 0 0 0% swh/lister/debian/tests/test_tasks.py 16 16 0 0 0% swh/lister/debian/utils.py 43 43 12 0 0% swh/lister/github/__init__.py 0 0 0 0 100% swh/lister/github/lister.py 29 14 6 0 43% swh/lister/github/models.py 7 0 0 0 100% swh/lister/github/tasks.py 27 16 2 0 38% swh/lister/github/tests/__init__.py 0 0 0 0 100% swh/lister/github/tests/conftest.py 1 1 0 0 0% swh/lister/github/tests/test_gh_lister.py 27 27 2 0 0% swh/lister/github/tests/test_tasks.py 51 51 8 0 0% swh/lister/gitlab/__init__.py 0 0 0 0 100% swh/lister/gitlab/lister.py 52 34 18 0 26% swh/lister/gitlab/models.py 6 0 0 0 100% swh/lister/gitlab/tasks.py 30 19 2 0 34% swh/lister/gitlab/tests/__init__.py 0 0 0 0 100% swh/lister/gitlab/tests/conftest.py 1 1 0 0 0% swh/lister/gitlab/tests/test_gitlab_lister.py 25 25 2 0 0% swh/lister/gitlab/tests/test_tasks.py 79 79 16 0 0% swh/lister/gnu/__init__.py 0 0 0 0 100% swh/lister/gnu/lister.py 70 45 28 0 26% swh/lister/gnu/models.py 6 0 0 0 100% swh/lister/gnu/tasks.py 6 2 0 0 67% swh/lister/gnu/tests/__init__.py 0 0 0 0 100% swh/lister/gnu/tests/conftest.py 1 1 0 0 0% swh/lister/gnu/tests/test_lister.py 24 24 4 0 0% swh/lister/gnu/tests/test_tasks.py 17 17 0 0 0% swh/lister/npm/__init__.py 0 0 0 0 100% swh/lister/npm/lister.py 63 37 12 0 35% swh/lister/npm/models.py 20 0 0 0 100% swh/lister/npm/tasks.py 33 23 4 0 27% swh/lister/packagist/__init__.py 0 0 0 0 100% swh/lister/packagist/lister.py 78 39 28 3 43% swh/lister/packagist/models.py 5 0 0 0 100% swh/lister/packagist/tasks.py 6 0 0 0 100% swh/lister/packagist/tests/__init__.py 0 0 0 0 100% swh/lister/packagist/tests/conftest.py 1 0 0 0 100% swh/lister/packagist/tests/test_lister.py 9 0 0 0 100% swh/lister/packagist/tests/test_tasks.py 17 0 0 0 100% swh/lister/phabricator/__init__.py 0 0 0 0 100% swh/lister/phabricator/lister.py 70 53 32 0 17% swh/lister/phabricator/models.py 6 0 0 0 100% swh/lister/phabricator/tasks.py 12 6 0 0 50% swh/lister/phabricator/tests/__init__.py 0 0 0 0 100% swh/lister/phabricator/tests/conftest.py 1 1 0 0 0% swh/lister/phabricator/tests/test_lister.py 31 31 4 0 0% swh/lister/phabricator/tests/test_tasks.py 18 18 0 0 0% swh/lister/pypi/__init__.py 0 0 0 0 100% swh/lister/pypi/lister.py 32 15 4 0 47% swh/lister/pypi/models.py 5 0 0 0 100% swh/lister/pypi/tasks.py 6 2 0 0 67% swh/lister/pypi/tests/__init__.py 0 0 0 0 100% swh/lister/pypi/tests/conftest.py 1 1 0 0 0% swh/lister/pypi/tests/test_tasks.py 17 17 0 0 0% swh/lister/tests/__init__.py 0 0 0 0 100% swh/lister/tests/test_utils.py 13 13 0 0 0% swh/lister/utils.py 8 7 6 0 7% ----------------------------------------------------------------------------------- TOTAL 2108 1570 428 5 22% ========================== 3 passed in 19.64 seconds =========================== ___________________________________ summary ____________________________________ flake8: commands succeeded py3: commands succeeded congratulations :) (swh) archit@work-pc:~/swh-environment/swh-lister/swh/lister/packagist$