コード例 #1
0
ファイル: tests.py プロジェクト: stigull/templatetools
 def test_negative_comments(self):
     self.assertEqual(readable_nr_of_comments(-1), u"")
コード例 #2
0
ファイル: tests.py プロジェクト: stigull/templatetools
 def test_one_comment(self):
     self.assertEqual(readable_nr_of_comments(1), u"Ein athugasemd")
コード例 #3
0
ファイル: tests.py プロジェクト: stigull/templatetools
 def test_many_comments(self):
     self.assertEqual(readable_nr_of_comments(2), u"2 athugasemdir")
コード例 #4
0
ファイル: tests.py プロジェクト: stigull/templatetools
 def test_no_comments(self):
     self.assertEqual(readable_nr_of_comments(0), u"Engin athugasemd")