File tree 1 file changed +6
-0
lines changed 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ class NoseTestCommand(TestCommand):
136
136
("process-timeout=" , None , "process timeout (nosetests)" ),
137
137
("with-coverage" , None , "with coverage" ),
138
138
("detailed-error-msg" , None , "detailed error message (nosetest)" ),
139
+ ("tests=" , None , "comma separated selection of tests (nosetest)" ),
139
140
]
140
141
141
142
def initialize_options (self ):
@@ -149,6 +150,7 @@ def initialize_options(self):
149
150
self .nocapture = None
150
151
self .with_coverage = None
151
152
self .detailed_error_msg = None
153
+ self .tests = None
152
154
153
155
def finalize_options (self ):
154
156
self .test_args = []
@@ -185,6 +187,10 @@ def finalize_options(self):
185
187
if self .detailed_error_msg :
186
188
self .test_args .append ("-d" )
187
189
190
+ if self .tests :
191
+ self .test_args .append ("--tests={names}" .format (names = self .tests ))
192
+
193
+
188
194
def run (self ):
189
195
if self .distribution .install_requires :
190
196
self .distribution .fetch_build_eggs (
You can’t perform that action at this time.
0 commit comments