tests/integration/conftest.py
def host_and_a_key():
    """
    master Host queue with a msg (watcher public key) on it
    """
    public_key = 'enLttA6OYJ1ctH3cDRi21uLwTXWRLC_jhY_e952lt3E='
    host = Host.get(a_name(), create=True)
    # put a public key on the master host queue
    host.client.send_message(
        host.name, msg=json.dumps('public_key %s' % public_key))
    yield host, public_key
    sqs().delete_queue(QueueUrl=host.url)

    master Host queue with a msg (watcher public key) on it
    
master Host queue with a msg (watcher public key) on it
master Host queue with a msg ( watcher public key ) on it
def host_and_a_key():
    public_key = 'enLttA6OYJ1ctH3cDRi21uLwTXWRLC_jhY_e952lt3E='
    host = Host.get(a_name(), create=True)
    host.client.send_message(
        host.name, msg=json.dumps('public_key %s' % public_key))
    yield host, public_key
    sqs().delete_queue(QueueUrl=host.url)
def host_and_a_key ( ) : public_key = 'enLttA6OYJ1ctH3cDRi21uLwTXWRLC_jhY_e952lt3E=' host = Host . get ( a_name ( ) , create = True ) host . client . send_message ( host . name , msg = json . dumps ( 'public_key %s' % public_key ) ) yield host , public_key sqs ( ) . delete_queue ( QueueUrl = host . url )
master Host queue with a msg (watcher public key) on it
master Host queue with a msg ( watcher public key ) on it
"""
    master Host queue with a msg (watcher public key) on it
    """ # put a public key on the master host queue