MCPcopy
hub / github.com/liuwons/wxBot / test_sync_check

Method test_sync_check

wxbot.py:678–684  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

676 return dic['BaseResponse']['Ret'] == 0
677
678 def test_sync_check(self):
679 for host in ['webpush', 'webpush2']:
680 self.sync_host = host
681 retcode = self.sync_check()[0]
682 if retcode == '0':
683 return True
684 return False
685
686 def sync_check(self):
687 params = {

Callers 1

proc_msgMethod · 0.95

Calls 1

sync_checkMethod · 0.95

Tested by

no test coverage detected