示例#1
0
文件: test.py 项目: koansys/lorem
 def test_three_words(self):
     self.assertEqual(t.text("foo bar stuff"), 'Lorem ipsum d')
示例#2
0
文件: test.py 项目: koansys/lorem
 def test_one_word(self):
     self.assertEqual(t.text("foo"), 'Lor')
示例#3
0
文件: test.py 项目: koansys/lorem
 def test_two_words(self):
     self.assertEqual(t.text("foo bar"), 'Lorem i')
示例#4
0
文件: test.py 项目: koansys/lorem
 def test_empty(self):
     self.assertEqual(t.text(""), '')