diff options
| author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2016-06-22 12:23:12 +0100 |
|---|---|---|
| committer | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2016-06-22 12:24:23 +0100 |
| commit | 45e10805d8d8a91e4a6e7d22226d2395bd9b42b3 (patch) | |
| tree | f8b25dced2fabb2b2a885a554494c89ad4e8591b /ironic_python_agent/tests/functional/base.py | |
| parent | 99a053f654840fc4db4d0691883f9b4b8a5c090b (diff) | |
| download | ironic-python-agent-45e10805d8d8a91e4a6e7d22226d2395bd9b42b3.tar.gz | |
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
Diffstat (limited to 'ironic_python_agent/tests/functional/base.py')
| -rw-r--r-- | ironic_python_agent/tests/functional/base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ironic_python_agent/tests/functional/base.py b/ironic_python_agent/tests/functional/base.py index 479b9ef7..b47ecdf0 100644 --- a/ironic_python_agent/tests/functional/base.py +++ b/ironic_python_agent/tests/functional/base.py @@ -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): |
