add coverage reports to tests

pull/109/head
codl 2017-11-27 00:39:53 +01:00
rodzic d32d770888
commit b993878100
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6CD7C8891ED1233A
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -8,3 +8,6 @@ all_files = 1
[aliases]
test=pytest
[tool:pytest]
addopts = --cov=mastodon

Wyświetl plik

@ -5,7 +5,7 @@ setup(name='Mastodon.py',
description='Python wrapper for the Mastodon API',
packages=['mastodon'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
tests_require=['pytest', 'pytest-cov'],
install_requires=['requests', 'python-dateutil', 'six', 'pytz'],
url='https://github.com/halcy/Mastodon.py',
author='Lorenz Diener',