Remove the --pdb option, because it was just a passthrough to nose
This commit is contained in:
@@ -25,7 +25,6 @@ __test__ = False # do not collect
|
||||
make_option("--verbose", action="store_const", const=2, dest="verbosity"),
|
||||
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
|
||||
make_option("-v", "--verbosity", action="count", dest="verbosity"),
|
||||
make_option("--pdb", action="store_true", help="Launches an interactive debugger upon error"),
|
||||
("default_store=", None, "deprecated in favor of default-store"),
|
||||
('extra_args=', 'e', 'deprecated, pass extra options directly in the paver commandline'),
|
||||
])
|
||||
|
||||
@@ -31,7 +31,6 @@ BOKCHOY_OPTS = [
|
||||
make_option("--verbose", action="store_const", const=2, dest="verbosity"),
|
||||
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
|
||||
make_option("-v", "--verbosity", action="count", dest="verbosity"),
|
||||
make_option("--pdb", action="store_true", help="Drop into debugger on failures or errors"),
|
||||
make_option("--skip-firefox-version-validation", action='store_false', dest="validate_firefox_version"),
|
||||
make_option("--save-screenshots", action='store_true', dest="save_screenshots"),
|
||||
('default_store=', None, 'deprecated in favor of default-store'),
|
||||
|
||||
@@ -39,7 +39,6 @@ __test__ = False # do not collect
|
||||
make_option("--verbose", action="store_const", const=2, dest="verbosity"),
|
||||
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
|
||||
make_option("-v", "--verbosity", action="count", dest="verbosity", default=1),
|
||||
make_option("--pdb", action="store_true", help="Drop into debugger on failures or errors"),
|
||||
make_option(
|
||||
'--disable-migrations',
|
||||
action='store_true',
|
||||
@@ -111,7 +110,6 @@ def test_system(options, passthrough_options):
|
||||
make_option("--verbose", action="store_const", const=2, dest="verbosity"),
|
||||
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
|
||||
make_option("-v", "--verbosity", action="count", dest="verbosity", default=1),
|
||||
make_option("--pdb", action="store_true", help="Drop into debugger on failures or errors"),
|
||||
('cov_args=', None, 'deprecated in favor of cov-args'),
|
||||
make_option(
|
||||
'-e', '--extra_args', default='',
|
||||
@@ -172,7 +170,6 @@ def test_lib(options, passthrough_options):
|
||||
make_option("--verbose", action="store_const", const=2, dest="verbosity"),
|
||||
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
|
||||
make_option("-v", "--verbosity", action="count", dest="verbosity", default=1),
|
||||
make_option("--pdb", action="store_true", help="Drop into debugger on failures or errors"),
|
||||
make_option(
|
||||
'--disable-migrations',
|
||||
action='store_true',
|
||||
@@ -212,7 +209,6 @@ def test_python(options, passthrough_options):
|
||||
make_option("--verbose", action="store_const", const=2, dest="verbosity"),
|
||||
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
|
||||
make_option("-v", "--verbosity", action="count", dest="verbosity", default=1),
|
||||
make_option("--pdb", action="store_true", help="Drop into debugger on failures or errors"),
|
||||
('cov_args=', None, 'deprecated in favor of cov-args'),
|
||||
make_option(
|
||||
'-e', '--extra_args', default='',
|
||||
|
||||
@@ -44,7 +44,6 @@ class AcceptanceTest(TestSuite):
|
||||
"--traceback",
|
||||
"--debug-mode",
|
||||
"--verbosity={}".format(self.verbosity),
|
||||
"--pdb" if self.pdb else "",
|
||||
] + report_args + [
|
||||
self.extra_args
|
||||
] + self.passthrough_options
|
||||
|
||||
@@ -250,8 +250,6 @@ class BokChoyTestSuite(TestSuite):
|
||||
"nosetests",
|
||||
test_spec,
|
||||
] + self.verbosity_processes_command
|
||||
if self.pdb:
|
||||
cmd.append("--pdb")
|
||||
if self.save_screenshots:
|
||||
cmd.append("--with-save-baseline")
|
||||
if self.extra_args:
|
||||
|
||||
@@ -102,9 +102,6 @@ class NoseTestSuite(TestSuite):
|
||||
if self.fail_fast or env_fail_fast_set:
|
||||
opts.append("--stop")
|
||||
|
||||
if self.pdb:
|
||||
opts += " --pdb"
|
||||
|
||||
if self.use_ids:
|
||||
opts.append("--with-id")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user