mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
This no longer applies.
This commit is contained in:
parent
0604fdeb8b
commit
c436d9f2f6
2 changed files with 4 additions and 11 deletions
|
@ -1435,16 +1435,6 @@ class ModuleCase(TestCase, SaltClientTestCaseMixIn):
|
|||
Execute a module function
|
||||
'''
|
||||
|
||||
def runTest(self):
|
||||
'''
|
||||
TODO remove after salt-testing PR #74 is merged and deployed
|
||||
'''
|
||||
try:
|
||||
super(ModuleCase, self).runTest()
|
||||
except AttributeError:
|
||||
log.error('ModuleCase runTest() could not execute. Requires at least v2016.8.3 of '
|
||||
'salt-testing package')
|
||||
|
||||
def minion_run(self, _function, *args, **kw):
|
||||
'''
|
||||
Run a single salt function on the 'minion' target and condition
|
||||
|
|
|
@ -30,7 +30,10 @@ class StateModuleTest(integration.ModuleCase,
|
|||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
mod_case = integration.ModuleCase()
|
||||
class CustomModuleCase(integration.ModuleCase):
|
||||
def runTest(self, *args):
|
||||
pass
|
||||
mod_case = CustomModuleCase()
|
||||
mod_case.run_function('saltutil.sync_all')
|
||||
|
||||
def test_show_highstate(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue