def domain_server(provider): server = get_domain_server(provider) yield server # make sure server is resumed just in case, if after test server is suspended server.resume_server() # resume does not start stopped server # make sure server is started after test execution server.start_server()
def domain_server(provider): server = get_domain_server(provider) yield server # make sure server is resumed just in case, if after test server is suspended server.resume_server() # resume does not start stopped server # make sure server is started after test execution server.start_server()
def test_domain_server_jdr(provider): """Tests EAP7 Domain mode server's Generate JDR button. Steps: * Chooses Server-one server. * Clicks on Generate JDR button. * Verifies that JDR report is queued. * Waits until JDR Report is generated. """ server = get_domain_server(provider) verify_server_running(provider, server) before_test_date = datetime.utcnow() server.generate_jdr() jdr_rc = JDRReportCollection(parent=server) verify_report_ready(jdr_rc, date_after=before_test_date)
def domain_server(provider): server = get_domain_server(provider) yield server
def domain_server(provider): server = get_domain_server(provider) yield server