42
42
res = unattended_upgrade.main(options, os.path.abspath("./aptroot"))
43
43
# check if the log file exists
44
44
self.assertTrue(os.path.exists(logfile))
46
47
# check that stuff worked
48
49
# check if we actually have the expected ugprade in it
50
51
re.search("INFO Packages that are upgraded:.*awstats", log))