'Search without expression produces server response
that contains some error messages. This test check
if this case is properly handled
:return:'

@pytest.mark.online
def test_malformed_search_response(self, playback_only):

    client = self.build_authenticated_client()
    search_result = client.search({})
    assert (search_result.get(u'query') is None)
    assert (search_result.get(u'limit') == 10)
