

@unittest.skipUnless(RUN_INDEXES, 'RUN_INDEXES is 0')
def test_index_timeout(self):
    if (not self.is_2i_supported()):
        raise unittest.SkipTest('2I is not supported')
    (bucket, o1, o2, o3, o4) = self._create_index_objects()
    o4.assertEqual([o1.key], bucket.get_index('field1_bin', 'val1', timeout='infinity'))

dataset/ETHPy150Open basho/riak-python-client/riak/tests/test_2i.py TwoITests.test_index_timeout/VarMisuse@59/94 `self`->`o4`