The new TestBase.make_fake_aptroot() will create a fake aptroot
based on an exiting template. It will also create a fake dpkg
inside it that just writes what arguments got passed to it.
This ensures that the local git tree is not polluted with generated
files during the test runs.
Use the new helper in the tests that use a fake root directory.
The new
TestBase.make_fake_aptroot()
will create a fake aptroot based on an exiting template. It will also create a fake dpkg inside it that just writes what arguments got passed to it.This ensures that the local git tree is not polluted with generated files during the test runs.
Use the new helper in the tests that use a fake root directory.