Add integration tests.
authorTim Van Steenburgh <tvansteenburgh@gmail.com>
Wed, 1 Mar 2017 05:44:06 +0000 (00:44 -0500)
committerTim Van Steenburgh <tvansteenburgh@gmail.com>
Wed, 1 Mar 2017 05:44:06 +0000 (00:44 -0500)
commitf33ed4d2e1efc9e479445da842d08256ceaccac8
tree360444e8cf188a7fce1a2cdc5c64a05b7ae540f8
parent546f9ef4d42473d33fcceb04e9ab410c7a4ec7a4
Add integration tests.

- Covers most of what is demonstrated in the examples/ directory.
- The integration tests are not run by default (with the 'tox' command),
  but they are run by TravisCI.
- Each integration test gets its own clean model in which to run, which
  is destroyed at the end of the test. See tests.base.CleanModel.
- Includes charmstore and local bundle tests (local bundle has machine
  and placement directives).

Fixes #27.
16 files changed:
.travis.yml
examples/config.py
examples/relate.py
tests/bundle/bundle.yaml [new file with mode: 0644]
tests/client/__init__.py [deleted file]
tests/client/test_client.py [deleted file]
tests/client/test_connection.py [deleted file]
tests/functional/__init__.py [deleted file]
tests/functional/test_model.py [deleted file]
tests/integration/__init__.py [new file with mode: 0644]
tests/integration/test_application.py [new file with mode: 0644]
tests/integration/test_client.py [new file with mode: 0644]
tests/integration/test_connection.py [new file with mode: 0644]
tests/integration/test_model.py [new file with mode: 0644]
tests/integration/test_unit.py [new file with mode: 0644]
tox.ini