fuel-ccp/fuel_ccp/tests/conf_fixture.py
Yuriy Taraday 8c15db503d Switch to cliff
Added all commands and basic app for cliff, removed all
legacy/compatibility stuff around CLI.

Config file CLI argument and logging will be fixed in separate commit.

Change-Id: Ib52b4c139c2ac9ea5afa073febcd764edced1464
2016-09-19 15:41:32 -07:00

11 lines
245 B
Python

import fixtures
from fuel_ccp import config
class Config(fixtures.Fixture):
def _setUp(self):
self.useFixture(fixtures.MockPatchObject(config, '_REAL_CONF'))
config.setup_config(None)
self.conf = config._REAL_CONF