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

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

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

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

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

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

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