Fixing lint
This commit is contained in:
parent
f179e9dea7
commit
806d2da3e7
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ virtualenv:
|
||||
netaddr jinja2
|
||||
|
||||
lint: virtualenv
|
||||
.venv/bin/flake8 --exclude hooks/charmhelpers hooks unit_tests tests
|
||||
.venv/bin/flake8 --exclude hooks/charmhelpers hooks unit_tests tests --ignore E402
|
||||
@charm proof
|
||||
|
||||
unit_test: virtualenv
|
||||
|
@ -1,5 +1,6 @@
|
||||
from mock import MagicMock, patch, call
|
||||
from test_utils import CharmTestCase
|
||||
|
||||
with patch('charmhelpers.core.hookenv.config') as config:
|
||||
config.return_value = 'neutron'
|
||||
import pg_gw_utils as utils
|
||||
|
Loading…
x
Reference in New Issue
Block a user