Fix a test order issue with oslo_config fixture

The below patch caused a test order issue with the oslo config
override via fixture.  This is causing gate failures.
https://review.openstack.org/#/c/246046/1

This fixes that ordering issue.

Change-Id: Id9390f546cc19ea3af0bfffc0b97b108eb6042e8
This commit is contained in:
Michael Johnson 2015-11-19 01:22:56 +00:00
parent b7f1dbc03e
commit e60244b65b

@ -50,6 +50,9 @@ class AgentJinjaTestCase(base.TestCase):
def test_build_agent_config(self):
ajc = agent_jinja_cfg.AgentJinjaTemplater()
# Test execution order could influence this with the test below
self.conf.config(group='amphora_agent',
agent_server_network_file=None)
expected_config = ('\n[DEFAULT]\n'
'debug = False\n\n'
'[haproxy_amphora]\n'