File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,19 +27,6 @@ def get_version():
2727 return eval (line .split ('=' )[- 1 ]) # pylint: disable=eval-used
2828
2929
30- class TestCommand (Command ):
31- user_options = []
32-
33- def initialize_options (self ):
34- pass
35- def finalize_options (self ):
36- pass
37-
38- def run (self ):
39- print ("\n * Tests are now run with the 'pytest' tool.\n "
40- "* See CONTRIBUTING.md for details." )
41-
42-
4330class PylintCommand (Command ):
4431 user_options = []
4532
@@ -158,6 +145,5 @@ def _parse_requirements(fname):
158145 "build" : BuildCommand ,
159146 "pylint" : PylintCommand ,
160147 "rpm" : RPMCommand ,
161- "test" : TestCommand ,
162148 },
163149)
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ commands =
1111
1212
1313[pytest]
14- addopts = -q --tb =native
14+ addopts = -q --tb =native tests/
1515
1616
1717[coverage:run]
You can’t perform that action at this time.
0 commit comments