X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=doctor.git;a=blobdiff_plain;f=doctor_tests%2Fcommon%2Fconstants.py;fp=doctor_tests%2Fcommon%2Fconstants.py;h=201f3fc4a05bc4744df837706589979e70a51144;hp=088ff63353096eb4079111f1065674165e8819b9;hb=73605c5c34b97ab56306bfa9af0f5888f3c7e46d;hpb=33293e9c23a21ad3228f46d2063f18c915eb2b79 diff --git a/doctor_tests/common/constants.py b/doctor_tests/common/constants.py index 088ff633..201f3fc4 100644 --- a/doctor_tests/common/constants.py +++ b/doctor_tests/common/constants.py @@ -12,6 +12,10 @@ from collections import namedtuple Host = namedtuple('Host', ['name', 'ip']) +def is_fenix(conf): + return conf.admin_tool.type == 'fenix' + + class Inspector(object): CONGRESS = 'congress' SAMPLE = 'sample'