Address review requests

This commit is contained in:
David Ames 2019-03-27 03:35:18 +00:00
parent 785d4e0580
commit 6ab7eaa93e

View File

@ -30,6 +30,7 @@ class WebSSOFIDServiceProviderProvides(Endpoint):
@when('endpoint.{endpoint_name}.changed') @when('endpoint.{endpoint_name}.changed')
def changed(self): def changed(self):
set_flag(self.expand_name('{endpoint_name}.available')) set_flag(self.expand_name('{endpoint_name}.available'))
clear_flag(self.expand_name('endpoint.{endpoint_name}.changed'))
@when_any('endpoint.{endpoint_name}.broken', @when_any('endpoint.{endpoint_name}.broken',
'endpoint.{endpoint_name}.departed') 'endpoint.{endpoint_name}.departed')