Raise errors in a centralized fashion.
authorPete Vander Giessen <petevg@gmail.com>
Tue, 7 Mar 2017 16:30:00 +0000 (10:30 -0600)
committerPete Vander Giessen <petevg@gmail.com>
Tue, 7 Mar 2017 17:11:49 +0000 (11:11 -0600)
commit01ab1abd39c3a8dda2dc99745e782e840c7f5b10
tree62c7f7ccc11dc9bbd2d220723e453b80e3b13c3c
parent6ec9ae9638c417de432734853d7e04f57d965ff7
Raise errors in a centralized fashion.

Fixes error with annotations that's exposed when we actually run tests
with the "raise errors" fix.

Added tests to verify that errors get raised.
juju/application.py
juju/client/connection.py
juju/model.py
tests/integration/test_errors.py [new file with mode: 0644]