Exemplo n.º 1
0
class MarkdownRefLinkCheckTest(CheckTestCase):
    check = MarkdownRefLinkCheck()

    def setUp(self):
        super(MarkdownRefLinkCheckTest, self).setUp()
        self.test_good_matching = ('[a][a1]', '[b][a1]', 'md-text')
        self.test_good_none = ('string', 'string', 'md-text')
        self.test_good_flag = ('[a][a1]', '[b][a2]', '')
        self.test_failure_1 = ('[a][a1]', '[b][a2]', 'md-text')
Exemplo n.º 2
0
class MarkdownRefLinkCheckTest(CheckTestCase):
    check = MarkdownRefLinkCheck()

    def setUp(self):
        super().setUp()
        self.test_good_matching = ("[a][a1]", "[b][a1]", "md-text")
        self.test_good_none = ("string", "string", "md-text")
        self.test_good_flag = ("[a][a1]", "[b][a2]", "")
        self.test_failure_1 = ("[a][a1]", "[b][a2]", "md-text")