Loading
nixos/test-driver: push allocation into the context-manager
The context manager's purpose is to allocate its resources in `__enter__` and release them again in `__exit__`. Right now, the approach is merely a hack since we allocate everything in the constructor, but use the context-manager protocol as way to reliably terminate everything. This isn't a functional change, but merely a correctness change by using the methods the way they were intended.