Beispiel #1
0
    def test_list_renderers(self):
        '''
        Test if it list the renderers loaded on the minion.
        '''
        self.assertListEqual(sysmod.list_renderers(), [])

        self.assertListEqual(sysmod.list_renderers('sqlite3.get_*'), [])
Beispiel #2
0
    def test_list_renderers(self):
        """
        Test if it list the renderers loaded on the minion.
        """
        self.assertListEqual(sysmod.list_renderers(), [])

        self.assertListEqual(sysmod.list_renderers("sqlite3.get_*"), [])
Beispiel #3
0
    def test_list_renderers(self):
        '''
        Test if it list the renderers loaded on the minion.
        '''
        self.assertListEqual(sysmod.list_renderers(), self._functions)

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

        self.assertListEqual(sysmod.list_renderers('user.info'), ['user.info'])

        self.assertListEqual(sysmod.list_renderers('syst*'), ['system.halt', 'system.reboot'])
Beispiel #4
0
    def test_list_renderers(self):
        '''
        Test if it list the renderers loaded on the minion.
        '''
        self.assertListEqual(sysmod.list_renderers(), _functions)

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

        self.assertListEqual(sysmod.list_renderers('user.info'), ['user.info'])

        self.assertListEqual(sysmod.list_renderers('syst*'), ['system.halt', 'system.reboot'])
Beispiel #5
0
    def test_list_renderers(self):
        """
        Test if it list the renderers loaded on the minion.
        """
        self.assertListEqual(sysmod.list_renderers(), self._functions)

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

        self.assertListEqual(sysmod.list_renderers("user.info"), ["user.info"])

        self.assertListEqual(sysmod.list_renderers("syst*"),
                             ["system.halt", "system.reboot"])