def test_dpkg_will_never_prompt(self): apt_pkg.config.set("DPkg::Options::", "--force-confold") self.assertFalse(dpkg_conffile_prompt())
def test_regression_lp1061498(self): apt_pkg.config.set("DPkg::Options::", "muup") self.assertTrue(dpkg_conffile_prompt())
def test_no_dpkg_prompt_option(self): self.assertTrue(dpkg_conffile_prompt())