def test_list_state_modules(self): ''' Test if it list the modules loaded on the minion. ''' self.assertListEqual(sysmod.list_state_modules(), []) self.assertListEqual(sysmod.list_state_modules('mysql_*'), [])
def test_list_state_modules(self): """ Test if it list the modules loaded on the minion. """ self.assertListEqual(sysmod.list_state_modules(), []) self.assertListEqual(sysmod.list_state_modules("mysql_*"), [])
def test_list_state_modules(self): ''' Test if it lists the modules loaded on the minion. ''' self.assertListEqual(sysmod.list_state_modules(), self._modules) self.assertListEqual(sysmod.list_state_modules('nonexist'), []) self.assertListEqual(sysmod.list_state_modules('user'), ['user']) self.assertListEqual(sysmod.list_state_modules('s*'), ['sys', 'sysctl', 'system'])
def test_list_state_modules(self): ''' Test if it lists the modules loaded on the minion. ''' self.assertListEqual(sysmod.list_state_modules(), _modules) self.assertListEqual(sysmod.list_state_modules('nonexist'), []) self.assertListEqual(sysmod.list_state_modules('user'), ['user']) self.assertListEqual(sysmod.list_state_modules('s*'), ['sys', 'sysctl', 'system'])
def test_list_state_modules(self): """ Test if it lists the modules loaded on the minion. """ self.assertListEqual(sysmod.list_state_modules(), self._modules) self.assertListEqual(sysmod.list_state_modules("nonexist"), []) self.assertListEqual(sysmod.list_state_modules("user"), ["user"]) self.assertListEqual(sysmod.list_state_modules("s*"), ["sys", "sysctl", "system"])