230
232
def test_install_file(self):
231
233
"""Test the installation of a local package file."""
235
target = os.path.join(self.chroot.path, "usr", "share", "aptdaemon")
232
241
self.chroot.add_test_repository()
234
244
trans = Transaction(enums.ROLE_INSTALL_FILE, self.queue, os.getuid(),
235
245
"org.debian.apt.test", bus=self.dbus,
236
246
kwargs={"path": os.path.join(REPO_PATH, pkg),