Ejemplo n.º 1
0
def _run_test_server():
    from quartjes.connector.server import ServerConnector
    from quartjes.controllers.database import default_database

    server = ServerConnector(test_port)
    server.register_service(default_database(), "database")
    server.start()

    import time

    while True:
        time.sleep(100)
Ejemplo n.º 2
0
def _run_test_server():
    from quartjes.connector.server import ServerConnector
    from quartjes.connector.services import TestRemoteService

    server = ServerConnector(test_port)
    server.register_service(TestRemoteService(), "test")
    server.start()

    import time

    while True:
        time.sleep(100)
Ejemplo n.º 3
0
def _run_test_server():
    from quartjes.connector.server import ServerConnector
    from quartjes.controllers.database import default_database
    
    server = ServerConnector(test_port)
    server.register_service(default_database(), "database")
    server.start()
    
    import time
    while True:
        time.sleep(100)
Ejemplo n.º 4
0
def _run_test_server():
    from quartjes.connector.server import ServerConnector
    from quartjes.connector.services import TestRemoteService

    server = ServerConnector(test_port)
    server.register_service(TestRemoteService(), "test")
    server.start()

    import time
    while True:
        time.sleep(100)