Fix functional tests

The functional tests in IPA were broken because the configuration
options weren't loaded prior to starting the service. This patch does
now register the configuration option at the base class.

Closes-Bug: #1595145
Change-Id: Iaaa16fddd093075e7f995fb82ad3abb64e8e5794
This commit is contained in:
Lucas Alvares Gomes 2016-06-22 12:23:12 +01:00
parent 99a053f654
commit 45e10805d8
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ from oslotest import base as test_base
import requests
from ironic_python_agent import agent
# NOTE(lucasagomes): This import is needed so we can register the
# configuration options prior to IPA prior to starting the service
from ironic_python_agent import config # noqa
class FunctionalBase(test_base.BaseTestCase):