Added helper variable.
@@ -30,7 +30,8 @@ class TestPaxosSystem(unittest.TestCase):
key1, key2, key3 = uuid4(), uuid4(), uuid4()
value1, value2, value3 = 11111, 22222, 33333
- with self.system.bind(self.infrastructure_class) as runner:
+ concrete_system = self.system.bind(self.infrastructure_class)
+ with concrete_system as runner:
paxosprocess0 = runner.paxosprocess0
paxosprocess1 = runner.paxosprocess1
paxosprocess2 = runner.paxosprocess2
