Add tox support
This commit is contained in:
parent
9dff3af391
commit
790e9865c1
@ -1,4 +1,5 @@
|
||||
revision
|
||||
bin
|
||||
.coverage
|
||||
.testrepository
|
||||
.tox
|
||||
tags
|
||||
|
@ -1,10 +1,6 @@
|
||||
from mock import patch
|
||||
|
||||
with patch('charmhelpers.core.hookenv.config') as config:
|
||||
config.return_value = 'keystone'
|
||||
import keystone_utils as utils # noqa
|
||||
|
||||
with patch('keystone_utils.register_configs') as register_configs:
|
||||
with patch('hooks.keystone_utils.register_configs') as register_configs:
|
||||
import git_reinstall
|
||||
|
||||
from test_utils import (
|
||||
|
Loading…
Reference in New Issue
Block a user