diff options
Diffstat (limited to 'tests/sos_tests.py')
-rw-r--r-- | tests/sos_tests.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/sos_tests.py b/tests/sos_tests.py index 72d6c244..7e69bc17 100644 --- a/tests/sos_tests.py +++ b/tests/sos_tests.py @@ -223,6 +223,12 @@ class BaseSoSReportTest(BaseSoSTest): """ pass + def pre_sos_setup(self): + """Do any needed non-mocking setup prior to the sos execution that is + called in setUp() + """ + pass + def setUp(self): """Execute and extract the sos report to our temporary location, then call sos_setup() for individual test case setup and/or mocking. @@ -232,6 +238,9 @@ class BaseSoSReportTest(BaseSoSTest): # setup our class-shared tmpdir self._setup_tmpdir() + # do any pre-execution setup + self.pre_sos_setup() + # do mocking called for in stage 2+ tests self.setup_mocking() |