Skip to content

Commit 70a6c7d

Browse files
samaityqiluo-msft
authored andcommitted
integrating py.test into setuptools (sonic-net#103)
* integrating py.test into setuptools * removed test dependencies from extras_require and add it as test_require
1 parent bd41744 commit 70a6c7d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[aliases]
2+
test=pytest

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
setup(
1919
name='asyncsnmp',
2020
install_requires=dependencies,
21+
setup_requires=["pytest-runner"],
22+
tests_require=test_deps,
2123
version='2.1.0',
2224
packages=find_packages('src'),
2325
extras_require={
24-
'testing': test_deps,
2526
'high_perf': high_performance_deps,
2627
},
2728
license='Apache 2.0',

0 commit comments

Comments
 (0)