Skip to content

Commit c2ddb05

Browse files
author
derwentx
committed
setup.py tests config
1 parent 47eb4fc commit c2ddb05

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[aliases]
2+
test=pytest
3+
[tool:pytest]
4+
addopts = --verbose
5+
python_files = tests.py

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@
4242
"beautifulsoup4",
4343
'lxml'
4444
],
45+
setup_requires=[
46+
'pytest-runner',
47+
],
48+
tests_require=[
49+
'httmock',
50+
'pytest'
51+
],
4552
classifiers=[
4653
"Development Status :: 5 - Production/Stable",
4754
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)