示例#1
0
 def test_type_not_ok_and_value_ok(self):
     assert not plural.test_next_token([('abc', 'and')], 'word', 'and')
示例#2
0
 def test_type_ok_and_not_value(self):
     assert not plural.test_next_token([('word', 'and')], 'word', 'or')
示例#3
0
 def test_empty(self):
     assert not plural.test_next_token([], '')
示例#4
0
 def test_type_not_ok_and_value_ok(self):
     assert not plural.test_next_token([('abc', 'and')], 'word', 'and')
示例#5
0
 def test_type_ok_and_not_value(self):
     assert not plural.test_next_token([('word', 'and')], 'word', 'or')
示例#6
0
 def test_empty(self):
     assert not plural.test_next_token([], '')