Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
fix lint, make xenial the default series
Browse files Browse the repository at this point in the history
  • Loading branch information
kwmonroe committed Jan 11, 2017
1 parent 9e44e81 commit 8ffdd4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ PYTHON := /usr/bin/env python
all: lint

lint:
@flake8 --exclude hooks/charmhelpers hooks tests
@flake8 --exclude=hooks/charmhelpers,hooks/relations hooks tests
@charm proof
2 changes: 1 addition & 1 deletion metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ description: |
like 'openjdk' and 'ibm-xlc'.
tags: [application_development]
series:
- trusty
- xenial
- trusty
provides:
xlc:
interface: xlc-compiler
Expand Down
7 changes: 4 additions & 3 deletions tests/01-deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class TestDeploy(unittest.TestCase):

@classmethod
def setUpClass(cls):
cls.d = amulet.Deployment(series='trusty')
cls.d.add('ubuntu-devenv', 'cs:trusty/ubuntu-devenv')
cls.d.add('openjdk', 'cs:trusty/openjdk')
cls.d = amulet.Deployment(series='xenial')
cls.d.add('ubuntu-devenv', 'cs:xenial/ubuntu-devenv')
cls.d.add('openjdk', 'cs:xenial/openjdk')
cls.d.relate('ubuntu-devenv:java', 'openjdk:java')
cls.d.setup(timeout=900)
cls.d.sentry.wait(timeout=1800)
Expand All @@ -39,5 +39,6 @@ def test_java(self):
print("output from cmd: {}".format(output))
assert rc == 0, "Unexpected return code: {}".format(rc)


if __name__ == '__main__':
unittest.main()

0 comments on commit 8ffdd4e

Please sign in to comment.