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