def setopt(self, opt, value):
    assert opt not in self.opts, "Option set more than once"
    self.opts[opt] = value
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.http_unittest.py/_FakeCurl.setopt/original