Browse Source

simulator timing

PYADPT-55
Volker Birk 6 years ago
parent
commit
14d1ed4d90
  1. 2
      test/sync_handshake.py

2
test/sync_handshake.py

@ -25,6 +25,7 @@ import pEp
import minimail import minimail
from datetime import datetime from datetime import datetime
from time import sleep
try: try:
from termcolor import colored from termcolor import colored
@ -124,6 +125,7 @@ class UserInterface(pEp.UserInterface):
pEp.sync_handshake_signal.SYNC_NOTIFY_SOLE, pEp.sync_handshake_signal.SYNC_NOTIFY_SOLE,
pEp.sync_handshake_signal.SYNC_NOTIFY_IN_GROUP, pEp.sync_handshake_signal.SYNC_NOTIFY_IN_GROUP,
]) ])
sleep(.5) # user is reading message
try: try:
if options.reject: if options.reject:
self.deliverHandshakeResult(SYNC_HANDSHAKE_REJECTED) self.deliverHandshakeResult(SYNC_HANDSHAKE_REJECTED)

Loading…
Cancel
Save