[bug 581] Fix parameter checking if no data-type 33/6933/1
authorAdam Israel <adam.israel@canonical.com>
Tue, 20 Nov 2018 18:54:13 +0000 (13:54 -0500)
committerAdam Israel <adam.israel@canonical.com>
Tue, 20 Nov 2018 18:56:20 +0000 (13:56 -0500)
[bug 581] Fix parameter checking if no data-type

Fix bug #581, which reported that the deployment of the simplecharm
failed because the filename parameter was invalid.

This turned out to be an issue introduced with the parameter
type-checking added for R5. This has been fixed, and an integration test
has been added that exercises the simplecharm example.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
13 files changed:
tests/charms/layers/simple/README.md [new file with mode: 0644]
tests/charms/layers/simple/actions.yaml [new file with mode: 0644]
tests/charms/layers/simple/actions/touch [new file with mode: 0755]
tests/charms/layers/simple/config.yaml [new file with mode: 0644]
tests/charms/layers/simple/icon.svg [new file with mode: 0644]
tests/charms/layers/simple/layer.yaml [new file with mode: 0644]
tests/charms/layers/simple/metadata.yaml [new file with mode: 0644]
tests/charms/layers/simple/metrics.yaml [new file with mode: 0644]
tests/charms/layers/simple/reactive/simple.py [new file with mode: 0644]
tests/charms/layers/simple/tests/00-setup [new file with mode: 0755]
tests/charms/layers/simple/tests/10-deploy [new file with mode: 0755]
tests/integration/test_simplecharm.py [new file with mode: 0644]