@@ -0,0 +1,1063 @@
+#!/usr/bin/env python%0A%0A# Copyright (c) 2017 Orange and others.%0A#%0A# All rights reserved. This program and the accompanying materials%0A# are made available under the terms of the Apache License, Version 2.0%0A# which accompanies this distribution, and is available at%0A# http://www.apache.org/licenses/LICENSE-2.0%0A%0A# pylint: disable=missing-docstring%0A%0Aimport logging%0Aimport unittest%0A%0Afrom functest.opnfv_tests.features import doctor%0Afrom functest.utils import constants%0A%0A%0Aclass DoctorTesting(unittest.TestCase):%0A%0A    logging.disable(logging.CRITICAL)%0A%0A    def setUp(self):%0A        self.doctor = doctor.Doctor()%0A%0A    def test_init(self):%0A        self.assertEqual(self.doctor.project_name, %22doctor%22)%0A        self.assertEqual(self.doctor.case_name, %22doctor-notification%22)%0A        self.assertEqual(%0A            self.doctor.repo,%0A            constants.CONST.__getattribute__(%22dir_repo_doctor%22))%0A        self.assertEqual(%0A            self.doctor.cmd,%0A            'cd %7B%7D/tests && ./run.sh'.format(self.doctor.repo))%0A%0A%0Aif __name__ == %22__main__%22:%0A    unittest.main(verbosity=2)%0A

Add unit tests for doctor