File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 1- from setuptools import Command
21from setuptools import setup
32
43
@@ -10,23 +9,6 @@ def read(fname):
109 return open (os .path .join (_here , fname )).read ()
1110
1211
13- class PyTest (Command ):
14- user_options = []
15-
16- def initialize_options (self ):
17- pass
18-
19- def finalize_options (self ):
20- pass
21-
22- def run (self ):
23- import subprocess
24- import sys
25-
26- errno = subprocess .call ([sys .executable , "runtests.py" ])
27- raise SystemExit (errno )
28-
29-
3012setup (
3113 name = "pytest-localserver" ,
3214 author = "Sebastian Rahlf" ,
@@ -45,7 +27,6 @@ def run(self):
4527 "aiosmtpd" ,
4628 ],
4729 },
48- cmdclass = {"test" : PyTest },
4930 tests_require = ["pytest>=2.0.0" , "requests" ],
5031 entry_points = {"pytest11" : ["localserver = pytest_localserver.plugin" ]},
5132 zip_safe = False ,
You can’t perform that action at this time.
0 commit comments