def setUp(self): self.parser = dls_module_contacts.make_parser() parse_error_patch = patch( 'dls_ade.dls_module_contacts.ArgParser.error') self.addCleanup(parse_error_patch.stop) self.mock_error = parse_error_patch.start()
def setUp(self): self.parser = dls_module_contacts.make_parser() parse_error_patch = patch('dls_ade.dls_module_contacts.ArgParser.error') self.addCleanup(parse_error_patch.stop) self.mock_error = parse_error_patch.start()
def setUp(self): self.parser = dls_module_contacts.make_parser()