def set_fimo_enabled(self, val): update_config({"without_fimo": not val}) lanthi_config.get_config().fimo_present = val
def setUp(self): self.options = build_config(["--minimal", "--enable-lanthipeptides"], isolated=True, modules=antismash.get_all_modules()) self.set_fimo_enabled(False) assert lanthi_config.get_config().fimo_present is False