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