def test_requires_atleast_one_parameter(self):
     with raises(Exception):
         str(plainto_tsquery())
 def test_supports_postgres(self):
     assert str(plainto_tsquery('s')) == (
         'plainto_tsquery(:plainto_tsquery_1)'
     )
 def test_supports_postgres(self):
     assert str(
         plainto_tsquery('s')) == ('plainto_tsquery(:plainto_tsquery_1)')
 def test_requires_atleast_one_parameter(self):
     with raises(Exception):
         str(plainto_tsquery())