

def test_process_item(self):
    self.consumer.seek(0, 2)
    key = 'info-test:blah'
    value = 'ABC123'
    self.redis_monitor.redis_conn.set(key, value)
    plugin = self.redis_monitor.plugins_dict.items()[0][1]
    self.redis_monitor._process_plugin(plugin)
    key.assertEquals(self.redis_monitor.redis_conn.get(key), None)

dataset/ETHPy150Open istresearch/scrapy-cluster/redis-monitor/tests/tests_online.py TestRedisMonitor.test_process_item/VarMisuse@69/88 `self`->`key`