aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-10-15 12:20:18 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-10-18 10:37:20 -0400
commit1dd1328084c956c551deea6de673e63b4110b5e9 (patch)
treecd6c4daf6b8f9be9f668bb071a57bdb470f03119 /tests
parent7ae47e6c0717c0b56c3368008dd99a87f7f436d5 (diff)
downloadsos-1dd1328084c956c551deea6de673e63b4110b5e9.tar.gz
[tests] Enable verbosity by default for all tests
The debug level messages gated by `-v` are very helpful for diagnosing test failures, but currently not all tests specify the use of verbosity. Make use of verobsity a default parameter for all test runs to address this. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/report_tests/basic_report_tests.py2
-rw-r--r--tests/report_tests/plugin_tests/string_collection_tests.py2
-rw-r--r--tests/sos_tests.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/report_tests/basic_report_tests.py b/tests/report_tests/basic_report_tests.py
index 2d2a6c30..f98d0f6e 100644
--- a/tests/report_tests/basic_report_tests.py
+++ b/tests/report_tests/basic_report_tests.py
@@ -15,7 +15,7 @@ class NormalSoSReport(StageOneReportTest):
:avocado: tags=stageone
"""
- sos_cmd = '-v --label thisismylabel'
+ sos_cmd = '--label thisismylabel'
def test_debug_in_logs_verbose(self):
self.assertSosLogContains('DEBUG')
diff --git a/tests/report_tests/plugin_tests/string_collection_tests.py b/tests/report_tests/plugin_tests/string_collection_tests.py
index d98401b3..05091a2e 100644
--- a/tests/report_tests/plugin_tests/string_collection_tests.py
+++ b/tests/report_tests/plugin_tests/string_collection_tests.py
@@ -17,7 +17,7 @@ class CollectStringTest(StageOneReportTest):
:avocado: tags=stageone
"""
- sos_cmd = '-v -o unpackaged,python -k python.hashes'
+ sos_cmd = '-o unpackaged,python -k python.hashes'
# unpackaged is only a RedHatPlugin
redhat_only = True
diff --git a/tests/sos_tests.py b/tests/sos_tests.py
index eeab1c2a..a1c68353 100644
--- a/tests/sos_tests.py
+++ b/tests/sos_tests.py
@@ -409,7 +409,7 @@ class BaseSoSReportTest(BaseSoSTest):
return os.path.join(self.tmpdir, "sosreport-%s" % self.__class__.__name__)
def _generate_sos_command(self):
- return "%s %s --batch --tmp-dir %s %s" % (SOS_BIN, self.sos_component, self.tmpdir, self.sos_cmd)
+ return "%s %s -v --batch --tmp-dir %s %s" % (SOS_BIN, self.sos_component, self.tmpdir, self.sos_cmd)
def _execute_sos_cmd(self):
super(BaseSoSReportTest, self)._execute_sos_cmd()