~pguimaraes/charms/trusty/memcached/trunk

Viewing all changes in revision 76.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: