Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lint errors in juju kubernetes master and e2e charms #45494

Merged
merged 2 commits into from
May 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions cluster/juju/layers/kubernetes-e2e/reactive/kubernetes_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

from charms import layer
from charms.layer import snap

from charms.reactive import hook
from charms.reactive import is_state
from charms.reactive import remove_state
from charms.reactive import set_state
from charms.reactive import when
from charms.reactive import when_not
Expand All @@ -30,7 +27,6 @@

from shlex import split

from subprocess import call
from subprocess import check_call
from subprocess import check_output

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ def addons_ready():
return False



@when('loadbalancer.available', 'certificates.ca.available',
'certificates.client.cert.available')
def loadbalancer_kubeconfig(loadbalancer, ca, client):
Expand Down
12 changes: 12 additions & 0 deletions cluster/juju/layers/kubernetes-master/tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[tox]
skipsdist=True
envlist = py34, py35
skip_missing_interpreters = True

[testenv]
commands = py.test -v
deps =
-r{toxinidir}/requirements.txt

[flake8]
exclude=docs