Esempio n. 1
0
def t35(control, remote, pipe):
    pretty = '%s t35' % __file__
    print(pretty)

    remote = RemoteControl(remote.address, remote.authkey, None)
    try:
        remote.sleep(2)
    except ConnectionTimeout, e:
        print('FAIL %s: could not sleep for 2 seconds: %s' % (pretty, e))
        return False
Esempio n. 2
0
def t36(control, remote, pipe):
    pretty = '%s t36' % __file__
    print(pretty)

    remote = RemoteControl(remote.address, remote.authkey, 0.5)
    try:
        remote.sleep(2)
        print('FAIL %s: could sleep for 2 seconds' % pretty)
        return False
    except ConnectionTimeout, e:
        pass