-
Committer:
Kevin W. Monroe
-
Date:
2016-11-23 21:14:14 UTC
-
Revision ID:
kevin.monroe@canonical.com-20161123211414-8t12oihdg1s50ye6
unit test fixes
- mock ufw.modify_access (prevents failure if ufw is not installed,
and we dont really want to be altering host ufw anyway).
- config changed replica / no-replica tests were both doing the same thing:
- test_config_changed_replica: the flow we want to test starts with no
replica, finds the current replica, opens ports, and renders the right
config. adjust the test to do this.
- test_config_changed_no_replica: the flow we want to test has no replica
config, opens ports, and renders the right config. adjust the test to do
this.