aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodl <[email protected]>2017-11-27 00:39:53 +0100
committercodl <[email protected]>2017-11-27 00:39:53 +0100
commitb99387810036f7d72a1c9ec0e33e4c10dcb07081 (patch)
tree5e32acdfda415e8295458db46da6b2c9c37812ee
parentd32d770888137bf781629325e16ecfc63474f7b5 (diff)
downloadmastodon.py-b99387810036f7d72a1c9ec0e33e4c10dcb07081.tar.gz
add coverage reports to tests
-rw-r--r--setup.cfg3
-rw-r--r--setup.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 459ffba..6cf90a9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,3 +8,6 @@ all_files = 1
8 8
9[aliases] 9[aliases]
10test=pytest 10test=pytest
11
12[tool:pytest]
13addopts = --cov=mastodon
diff --git a/setup.py b/setup.py
index b51b7a7..3dd7d4d 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ setup(name='Mastodon.py',
5 description='Python wrapper for the Mastodon API', 5 description='Python wrapper for the Mastodon API',
6 packages=['mastodon'], 6 packages=['mastodon'],
7 setup_requires=['pytest-runner'], 7 setup_requires=['pytest-runner'],
8 tests_require=['pytest'], 8 tests_require=['pytest', 'pytest-cov'],
9 install_requires=['requests', 'python-dateutil', 'six', 'pytz'], 9 install_requires=['requests', 'python-dateutil', 'six', 'pytz'],
10 url='https://github.com/halcy/Mastodon.py', 10 url='https://github.com/halcy/Mastodon.py',
11 author='Lorenz Diener', 11 author='Lorenz Diener',
Powered by cgit v1.2.3 (git 2.41.0)