844
844
@patch('charmhelpers.core.hookenv.relations_of_type')
846
846
def test_configure_firewall(self, ufw, rel_of_type):
850
850
actions.configure_firewall('')
852
852
# Confirm our mock provided the expected data.
855
855
ufw.enable.assert_called_once_with(soft_fail=True) # Always enabled.