예제 #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())