Esempio n. 1
0
def run_tests(app_started):

    time.sleep(1)

    svc_port = base_config.settings.TEST_PORT

    app_tests_list = []
    load_app_test(app_started, app_tests_list)

    test_base(svc_port)
    test_app(app_tests_list, svc_port)

    finish_tests()
Esempio n. 2
0
def run_tests(app_started, t_stage, test_db, db_user, db_passwd, server_pid):

    time.sleep(1)  # TODO: pingovati service da li je ok da nastavish

    svc_port = base_config.settings.TEST_PORT

    app_tests_list = []
    load_app_test(app_started, app_tests_list, t_stage)

    test_base(svc_port, t_stage)
    test_app(app_tests_list, svc_port, t_stage, test_db, db_user, db_passwd)

    finish_tests(server_pid)
Esempio n. 3
0
def run_tests(app_started, t_stage, test_db, db_user, db_passwd, server_pid):

    time.sleep(1) # TODO: pingovati service da li je ok da nastavish

    svc_port = base_config.settings.TEST_PORT

    app_tests_list = []
    load_app_test(app_started, app_tests_list, t_stage)

    test_base(svc_port, t_stage)
    test_app(app_tests_list, svc_port, t_stage, test_db, db_user, db_passwd)

    finish_tests(server_pid)