コード例 #1
0
ファイル: test_plural.py プロジェクト: uniqueecom/babel
 def test_type_not_ok_and_value_ok(self):
     assert not plural.test_next_token([('abc', 'and')], 'word', 'and')
コード例 #2
0
ファイル: test_plural.py プロジェクト: uniqueecom/babel
 def test_type_ok_and_not_value(self):
     assert not plural.test_next_token([('word', 'and')], 'word', 'or')
コード例 #3
0
ファイル: test_plural.py プロジェクト: uniqueecom/babel
 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([], '')