101
101
options, rootdir="./root.unused-deps")
102
102
with open(self.log) as f:
103
103
# both the new and the old unused dependency are removed
107
107
self.assertTrue(needle in haystack,
108
108
"Can not find '%s' in '%s'" % (needle, haystack))
110
110
def test_remove_unused_dependencies_new_unused_only(self):
111
115
apt_conf = os.path.join(self.rootdir, "etc", "apt", "apt.conf")
112
116
with open(apt_conf, "w") as fp: