

def test_solr_search_with_params_from_bucket(self):
    bucket = bucket.client.bucket(testrun_search_bucket)
    bucket.new('user', {
        'username': 'roidrage',
    }).store()
    results = bucket.search('username:roidrage', wt='xml')
    self.assertEqual(1, len(results['docs']))

dataset/ETHPy150Open basho/riak-python-client/riak/tests/test_search.py SearchTests.test_solr_search_with_params_from_bucket/VarMisuse@12/20 `self`->`bucket`