示例#1
0
 def test_dictionary_special(self):
     self.check_dict(Dictionary(source='bar\x1e\x1efoo', target='br\x1eff'))
示例#2
0
 def test_dictionary_markup(self):
     self.check_dict(Dictionary(source='<b>foo</b>', target='<b>bar</b>'))
示例#3
0
 def test_dictionary(self):
     self.check_dict(Dictionary(source='foo', target='bar'))
示例#4
0
 def test_dictionary_special(self):
     self.check_dict(Dictionary(source="bar\x1e\x1efoo", target="br\x1eff"))
示例#5
0
 def test_dictionary_markup(self):
     self.check_dict(Dictionary(source="<b>foo</b>", target="<b>bar</b>"))
示例#6
0
 def test_dictionary(self):
     self.check_dict(Dictionary(source="foo", target="bar"))