(self, binary, root)
| 72 | |
| 73 | class Fixture: |
| 74 | def __init__(self, binary, root): |
| 75 | self.binary = str(binary) |
| 76 | self.root = root |
| 77 | self.env = os.environ.copy() |
| 78 | self.env["NO_COLOR"] = "1" |
| 79 | # The foreground owner is the only process this fixture owns and stops. |
| 80 | self.owner = None |
| 81 | self.owner_log = tempfile.TemporaryFile() |
| 82 | |
| 83 | def start(self): |
| 84 | self.run("init", str(self.root)) |