Loading system/gd/cert/matchers.py +4 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,10 @@ class HciMatchers(object): def Disconnect(): return lambda event: HciMatchers.EventWithCode(EventCode.DISCONNECT) @staticmethod def DisconnectionComplete(): return lambda event: HciMatchers.EventWithCode(EventCode.DISCONNECTION_COMPLETE) class NeighborMatchers(object): Loading system/gd/security/cert/cert_security.py +1 −0 Original line number Diff line number Diff line Loading @@ -210,6 +210,7 @@ class CertSecurity(PySecurity): """ Cert side needs to pass """ assertThat(self._hci_event_stream).emits(HciMatchers.DisconnectionComplete()) pass def close(self): Loading Loading
system/gd/cert/matchers.py +4 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,10 @@ class HciMatchers(object): def Disconnect(): return lambda event: HciMatchers.EventWithCode(EventCode.DISCONNECT) @staticmethod def DisconnectionComplete(): return lambda event: HciMatchers.EventWithCode(EventCode.DISCONNECTION_COMPLETE) class NeighborMatchers(object): Loading
system/gd/security/cert/cert_security.py +1 −0 Original line number Diff line number Diff line Loading @@ -210,6 +210,7 @@ class CertSecurity(PySecurity): """ Cert side needs to pass """ assertThat(self._hci_event_stream).emits(HciMatchers.DisconnectionComplete()) pass def close(self): Loading