Remove unused verbose property
This commit is contained in:
committed by
Christine Lytwynec
parent
4221bf9ec0
commit
e159ff9b5d
@@ -31,7 +31,7 @@ class I18nTestSuite(TestSuite):
|
||||
cmd = (
|
||||
"{pythonpath_prefix} nosetests {repo_root}/i18n/tests "
|
||||
"--with-xunit --xunit-file={xunit_report} "
|
||||
"--verbosity={verbosity}.format(
|
||||
"--verbosity={verbosity}".format(
|
||||
pythonpath_prefix=pythonpath_prefix,
|
||||
repo_root=Env.REPO_ROOT,
|
||||
xunit_report=self.xunit_report,
|
||||
|
||||
@@ -23,15 +23,6 @@ class TestSuite(object):
|
||||
self.failed_suites = []
|
||||
self.verbosity = kwargs.get('verbosity', 1)
|
||||
|
||||
@property
|
||||
def verbose(self):
|
||||
"""
|
||||
Boolean version of `self.verbosity`. If `self.verbosity` is greater than
|
||||
1, `self.verbose` is True. Note that the default value for
|
||||
`self.verbosity` is 1, so the default value for `self.verbose` is False.
|
||||
"""
|
||||
return self.verbosity > 1
|
||||
|
||||
def __enter__(self):
|
||||
"""
|
||||
This will run before the test suite is run with the run_suite_tests method.
|
||||
|
||||
Reference in New Issue
Block a user