コード例 #1
0
 def test_requires_atleast_one_parameter(self):
     with raises(Exception):
         str(plainto_tsquery())
コード例 #2
0
 def test_supports_postgres(self):
     assert str(plainto_tsquery('s')) == (
         'plainto_tsquery(:plainto_tsquery_1)'
     )
コード例 #3
0
 def test_supports_postgres(self):
     assert str(
         plainto_tsquery('s')) == ('plainto_tsquery(:plainto_tsquery_1)')
コード例 #4
0
 def test_requires_atleast_one_parameter(self):
     with raises(Exception):
         str(plainto_tsquery())