예제 #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
파일: test_plural.py 프로젝트: cloudera/hue
 def test_type_not_ok_and_value_ok(self):
     assert not plural.test_next_token([('abc', 'and')], 'word', 'and')
예제 #5
0
파일: test_plural.py 프로젝트: cloudera/hue
 def test_type_ok_and_not_value(self):
     assert not plural.test_next_token([('word', 'and')], 'word', 'or')
예제 #6
0
파일: test_plural.py 프로젝트: cloudera/hue
 def test_empty(self):
     assert not plural.test_next_token([], '')