Esempio n. 1
0
    def test_list_runners(self):
        '''
        Test if it list the runners loaded on the minion.
        '''
        self.assertListEqual(sysmod.list_runners(), [])

        self.assertListEqual(sysmod.list_runners('m*'), [])
Esempio n. 2
0
    def test_list_runners(self):
        """
        Test if it list the runners loaded on the minion.
        """
        self.assertListEqual(sysmod.list_runners(), [])

        self.assertListEqual(sysmod.list_runners("m*"), [])
Esempio n. 3
0
    def test_list_runners(self):
        '''
        Test if it list the runners loaded on the minion.
        '''
        self.assertListEqual(sysmod.list_runners(), self._modules)

        self.assertListEqual(sysmod.list_runners('nonexist'), [])

        self.assertListEqual(sysmod.list_runners('user'), ['user'])

        self.assertListEqual(sysmod.list_runners('s*'), ['sys', 'sysctl', 'system'])
Esempio n. 4
0
    def test_list_runners(self):
        '''
        Test if it list the runners loaded on the minion.
        '''
        self.assertListEqual(sysmod.list_runners(), _modules)

        self.assertListEqual(sysmod.list_runners('nonexist'), [])

        self.assertListEqual(sysmod.list_runners('user'), ['user'])

        self.assertListEqual(sysmod.list_runners('s*'), ['sys', 'sysctl', 'system'])
Esempio n. 5
0
    def test_list_runners(self):
        """
        Test if it list the runners loaded on the minion.
        """
        self.assertListEqual(sysmod.list_runners(), self._modules)

        self.assertListEqual(sysmod.list_runners("nonexist"), [])

        self.assertListEqual(sysmod.list_runners("user"), ["user"])

        self.assertListEqual(sysmod.list_runners("s*"),
                             ["sys", "sysctl", "system"])