Commit 0e90567f by Calen Pennington

Remove the --pdb option, because it was just a passthrough to nose

parent 81d347d9
...@@ -25,7 +25,6 @@ __test__ = False # do not collect ...@@ -25,7 +25,6 @@ __test__ = False # do not collect
make_option("--verbose", action="store_const", const=2, dest="verbosity"), make_option("--verbose", action="store_const", const=2, dest="verbosity"),
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"), make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
make_option("-v", "--verbosity", action="count", 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"), ("default_store=", None, "deprecated in favor of default-store"),
('extra_args=', 'e', 'deprecated, pass extra options directly in the paver commandline'), ('extra_args=', 'e', 'deprecated, pass extra options directly in the paver commandline'),
]) ])
......
...@@ -31,7 +31,6 @@ BOKCHOY_OPTS = [ ...@@ -31,7 +31,6 @@ BOKCHOY_OPTS = [
make_option("--verbose", action="store_const", const=2, dest="verbosity"), make_option("--verbose", action="store_const", const=2, dest="verbosity"),
make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"), make_option("-q", "--quiet", action="store_const", const=0, dest="verbosity"),
make_option("-v", "--verbosity", action="count", 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("--skip-firefox-version-validation", action='store_false', dest="validate_firefox_version"),
make_option("--save-screenshots", action='store_true', dest="save_screenshots"), make_option("--save-screenshots", action='store_true', dest="save_screenshots"),
('default_store=', None, 'deprecated in favor of default-store'), ('default_store=', None, 'deprecated in favor of default-store'),
......
...@@ -39,7 +39,6 @@ __test__ = False # do not collect ...@@ -39,7 +39,6 @@ __test__ = False # do not collect
make_option("--verbose", action="store_const", const=2, dest="verbosity"), make_option("--verbose", action="store_const", const=2, dest="verbosity"),
make_option("-q", "--quiet", action="store_const", const=0, 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("-v", "--verbosity", action="count", dest="verbosity", default=1),
make_option("--pdb", action="store_true", help="Drop into debugger on failures or errors"),
make_option( make_option(
'--disable-migrations', '--disable-migrations',
action='store_true', action='store_true',
...@@ -111,7 +110,6 @@ def test_system(options, passthrough_options): ...@@ -111,7 +110,6 @@ def test_system(options, passthrough_options):
make_option("--verbose", action="store_const", const=2, dest="verbosity"), make_option("--verbose", action="store_const", const=2, dest="verbosity"),
make_option("-q", "--quiet", action="store_const", const=0, 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("-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'), ('cov_args=', None, 'deprecated in favor of cov-args'),
make_option( make_option(
'-e', '--extra_args', default='', '-e', '--extra_args', default='',
...@@ -172,7 +170,6 @@ def test_lib(options, passthrough_options): ...@@ -172,7 +170,6 @@ def test_lib(options, passthrough_options):
make_option("--verbose", action="store_const", const=2, dest="verbosity"), make_option("--verbose", action="store_const", const=2, dest="verbosity"),
make_option("-q", "--quiet", action="store_const", const=0, 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("-v", "--verbosity", action="count", dest="verbosity", default=1),
make_option("--pdb", action="store_true", help="Drop into debugger on failures or errors"),
make_option( make_option(
'--disable-migrations', '--disable-migrations',
action='store_true', action='store_true',
...@@ -212,7 +209,6 @@ def test_python(options, passthrough_options): ...@@ -212,7 +209,6 @@ def test_python(options, passthrough_options):
make_option("--verbose", action="store_const", const=2, dest="verbosity"), make_option("--verbose", action="store_const", const=2, dest="verbosity"),
make_option("-q", "--quiet", action="store_const", const=0, 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("-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'), ('cov_args=', None, 'deprecated in favor of cov-args'),
make_option( make_option(
'-e', '--extra_args', default='', '-e', '--extra_args', default='',
......
...@@ -44,7 +44,6 @@ class AcceptanceTest(TestSuite): ...@@ -44,7 +44,6 @@ class AcceptanceTest(TestSuite):
"--traceback", "--traceback",
"--debug-mode", "--debug-mode",
"--verbosity={}".format(self.verbosity), "--verbosity={}".format(self.verbosity),
"--pdb" if self.pdb else "",
] + report_args + [ ] + report_args + [
self.extra_args self.extra_args
] + self.passthrough_options ] + self.passthrough_options
......
...@@ -250,8 +250,6 @@ class BokChoyTestSuite(TestSuite): ...@@ -250,8 +250,6 @@ class BokChoyTestSuite(TestSuite):
"nosetests", "nosetests",
test_spec, test_spec,
] + self.verbosity_processes_command ] + self.verbosity_processes_command
if self.pdb:
cmd.append("--pdb")
if self.save_screenshots: if self.save_screenshots:
cmd.append("--with-save-baseline") cmd.append("--with-save-baseline")
if self.extra_args: if self.extra_args:
......
...@@ -102,9 +102,6 @@ class NoseTestSuite(TestSuite): ...@@ -102,9 +102,6 @@ class NoseTestSuite(TestSuite):
if self.fail_fast or env_fail_fast_set: if self.fail_fast or env_fail_fast_set:
opts.append("--stop") opts.append("--stop")
if self.pdb:
opts += " --pdb"
if self.use_ids: if self.use_ids:
opts.append("--with-id") opts.append("--with-id")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment