def with_duration(self, duration):
        self.duration = duration
        return self
Set duration of poison
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/builders/poison.py/PoisonBuilder.with_duration