Пример #1
0
    def test_no_words(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(0, countWords(u"in the end"))
Пример #2
0
    def test_two_words(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(2, countWords(u"into the wild"))
Пример #3
0
    def test_one_word(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(1, countWords(u"in the wild"))
Пример #4
0
    def test_one_word(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(1, countWords(u"in the wild"))
Пример #5
0
    def test_no_words(self):
        from collective.jekyll.symptoms import countWords

        self.assertEquals(0, countWords(u"in the end"))
Пример #6
0
    def test_two_words(self):
        from collective.jekyll.symptoms import countWords

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