Exemplo n.º 1
0
    def test_no_words(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(0, countWords(u"in the end"))
Exemplo n.º 2
0
    def test_two_words(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(2, countWords(u"into the wild"))
Exemplo n.º 3
0
    def test_one_word(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(1, countWords(u"in the wild"))
Exemplo n.º 4
0
    def test_one_word(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(1, countWords(u"in the wild"))
Exemplo n.º 5
0
    def test_no_words(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(0, countWords(u"in the end"))
Exemplo n.º 6
0
    def test_two_words(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(2, countWords(u"into the wild"))