This no longer applies.

This commit is contained in:
Pedro Algarvio 2017-03-06 16:09:55 +00:00
parent 0604fdeb8b
commit c436d9f2f6
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
2 changed files with 4 additions and 11 deletions

View file

@ -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

View file

@ -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):