def METHOD_NAME(self):
    if os.path.exists(QUBES_FWUPDMGR_REPO):
        self.qfwupd = imp.load_source("qubes_fwupdmgr", QUBES_FWUPDMGR_REPO)
    elif os.path.exists(QUBES_FWUPDMGR_BINDIR):
        self.qfwupd = imp.load_source("qubes_fwupdmgr", QUBES_FWUPDMGR_BINDIR)
    self.q = qf_heads.FwupdHeads()
    self.maxDiff = 2000
    self.captured_output = io.StringIO()
    sys.stdout = self.captured_output