12 lines
332 B
Python
12 lines
332 B
Python
import sys
|
|
import mock
|
|
|
|
sys.path.append('src')
|
|
sys.path.append('src/lib')
|
|
|
|
# Mock out charmhelpers so that we can test without it.
|
|
import charms_openstack.test_mocks # noqa
|
|
charms_openstack.test_mocks.mock_charmhelpers()
|
|
sys.modules['charmhelpers.core.decorators'] = (
|
|
charms_openstack.test_mocks.charmhelpers.core.decorators)
|