From: wenjuan dong Date: Sat, 29 Jul 2017 04:44:03 +0000 (+0000) Subject: Merge "refactor congress inspector" X-Git-Tag: opnfv-5.0.RC1~34 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=doctor.git;a=commitdiff_plain;h=e52dccf724ee05a16b6e78e79d7045f5c0ac979f Merge "refactor congress inspector" --- e52dccf724ee05a16b6e78e79d7045f5c0ac979f diff --cc tests/inspector/__init__.py index 151cc034,426c8685..afba4800 --- a/tests/inspector/__init__.py +++ b/tests/inspector/__init__.py @@@ -31,9 -30,9 +31,10 @@@ OPTS = _inspector_name_class_mapping = { 'sample': 'inspector.sample.SampleInspector', + 'congress': 'inspector.congress.CongressInspector', } + def get_inspector(conf, log): inspector_class = _inspector_name_class_mapping[conf.inspector.type] return importutils.import_object(inspector_class, conf, log)