Esempio n. 1
0
    def test_renderer_doc(self):
        '''
        Test if it returns the docstrings for all renderers.
        '''
        self.assertDictEqual(sysmod.renderer_doc(), self._docstrings)

        self.assertDictEqual(sysmod.renderer_doc('sys.doc'), {'sys.doc': 'docstring for sys.doc'})
Esempio n. 2
0
    def test_renderer_doc(self):
        '''
        Test if it returns the docstrings for all renderers.
        '''
        self.assertDictEqual(sysmod.renderer_doc(), _docstrings)

        self.assertDictEqual(sysmod.renderer_doc('sys.doc'), {'sys.doc': 'docstring for sys.doc'})
Esempio n. 3
0
    def test_renderer_doc(self):
        '''
        Test if it return the docstrings for all renderers.
        '''
        self.assertDictEqual(sysmod.renderer_doc(), {})

        self.assertDictEqual(sysmod.renderer_doc('c*', 'j*'), {})
Esempio n. 4
0
    def test_renderer_doc(self):
        """
        Test if it return the docstrings for all renderers.
        """
        self.assertDictEqual(sysmod.renderer_doc(), {})

        self.assertDictEqual(sysmod.renderer_doc("c*", "j*"), {})
Esempio n. 5
0
    def test_renderer_doc(self):
        """
        Test if it returns the docstrings for all renderers.
        """
        self.assertDictEqual(sysmod.renderer_doc(), self._docstrings)

        self.assertDictEqual(sysmod.renderer_doc("sys.doc"),
                             {"sys.doc": "docstring for sys.doc"})