Merge pull request #26 from openstack-charmers/fix-lint

Fix lint
This commit is contained in:
Frode Nordahl
2019-06-27 12:48:06 +02:00
committed by GitHub
2 changed files with 14 additions and 6 deletions
+12 -5
View File
@@ -1,10 +1,17 @@
sudo: true
dist: xenial
language: python
python:
- "3.6"
install: pip install tox-travis
env:
- ENV=pep8
matrix:
include:
- name: "Python 3.5"
python: 3.5
env: ENV=pep8,py3
- name: "Python 3.6"
python: 3.6
env: ENV=pep8,py3
- name: "Python 3.7"
python: 3.7
env: ENV=pep8,py3
script:
- tox -c tox.ini -e $ENV
- tox -c tox.ini -e $ENV
+2 -1
View File
@@ -168,7 +168,8 @@ class OpenStackBaseTest(unittest.TestCase):
model.block_until_all_units_idle()
def restart_on_changed(self, config_file, default_config, alternate_config,
default_entry, alternate_entry, services, pgrep_full=False):
default_entry, alternate_entry, services,
pgrep_full=False):
"""Run restart on change tests.
Test that changing config results in config file being updates and