Exemplo n.º 1
0
    def testCreateKeyword(self):
        str = "This is my tag@@##%@#!@@$!@$ I am testing it @(#()!@#(*)"
        s = KeywordProcessor.createKeywords(str)
        self.assertEquals(s, "this is my tag i am testing it")

        str = ""
        s = KeywordProcessor.createKeywords(str)
        self.assertEquals(s, "")
Exemplo n.º 2
0
    def testCreateKeyword(self):
        str = "This is my tag@@##%@#!@@$!@$ I am testing it @(#()!@#(*)"
        s = KeywordProcessor.createKeywords(str)
        self.assertEquals(s, "this is my tag i am testing it")

        str = ""
        s = KeywordProcessor.createKeywords(str)
        self.assertEquals(s, "")