Add tox support

This commit is contained in:
James Page 2015-10-31 08:30:09 +09:00
parent 9dff3af391
commit 790e9865c1
4 changed files with 7 additions and 10 deletions

View File

@ -1,4 +1,5 @@
revision
bin
.coverage
.testrepository
.tox
tags

View File

@ -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 (