def METHOD_NAME(self):
    expected_ts_query = ", plainto_tsquery('simple', 'foo') \"query\""
    data_dict = {"q": "foo"}
    result = self._datastore_search(data_dict=data_dict)
    assert result["ts_query"] == expected_ts_query