コード例 #1
0
ファイル: remote_test.py プロジェクト: scv119/python-protorpc
 def testIsNotError(self):
   for state in (s for s in remote.RpcState if s <= remote.RpcState.RUNNING):
     status = remote.RpcStatus(state=state)
     self.assertFalse(remote.is_error_status(status))
コード例 #2
0
ファイル: remote_test.py プロジェクト: Zoramite/protorpc
 def testIsNotError(self):
   for state in (s for s in remote.RpcState if s <= remote.RpcState.RUNNING):
     status = remote.RpcStatus(state=state)
     self.assertFalse(remote.is_error_status(status))
コード例 #3
0
ファイル: remote_test.py プロジェクト: scv119/python-protorpc
 def testIsError(self):
   for state in (s for s in remote.RpcState if s > remote.RpcState.RUNNING):
     status = remote.RpcStatus(state=state)
     self.assertTrue(remote.is_error_status(status))
コード例 #4
0
ファイル: remote_test.py プロジェクト: Zoramite/protorpc
 def testIsError(self):
   for state in (s for s in remote.RpcState if s > remote.RpcState.RUNNING):
     status = remote.RpcStatus(state=state)
     self.assertTrue(remote.is_error_status(status))