Best Python code snippet using lisa_python
test_kubernetes_advanced.py
Source:test_kubernetes_advanced.py
...22 cluster, pod, package):23 murano.create_service(environment, session, murano.crate(pod))24 murano.create_service(environment, session, murano.nginx_site(pod))25 murano.create_service(environment, session, murano.glassfish(pod))26 deployed_environment = murano.deploy_environment(environment, session)27 murano.status_check(deployed_environment,28 [[cluster['name'], "master-1", 8080],29 [cluster['name'], "gateway-1", 4200, 80, 4848, 8080],30 [cluster['name'], "minion-1", 4194]31 ],32 kubernetes=True)33@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")34@pytest.mark.parametrize('package', [('DockerCrate', 'DockerNginx',35 'DockerMongoDB')], indirect=['package'])36@pytest.mark.testrail_id('836441')37def test_k8s_deploy_crate_nginx_mongodb(environment, murano, session, cluster,38 pod, package):39 murano.create_service(environment, session, murano.crate(pod))40 murano.create_service(environment, session, murano.nginx(pod))41 murano.create_service(environment, session, murano.mongodb(pod))42 deployed_environment = murano.deploy_environment(environment, session)43 murano.status_check(deployed_environment,44 [[cluster['name'], "master-1", 8080],45 [cluster['name'], "gateway-1", 4200, 4300, 80, 27017],46 [cluster['name'], "minion-1", 4194]47 ],48 kubernetes=True)49@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")50@pytest.mark.parametrize('package', [('DockerMariaDB', 'DockerPostgreSQL',51 'DockerMongoDB')], indirect=['package'])52@pytest.mark.testrail_id('836442')53def test_k8s_deploy_mariadb_postgresql_mongodb(environment, murano, session,54 cluster, pod, package):55 murano.create_service(environment, session, murano.mariadb(pod))56 murano.create_service(environment, session, murano.postgres(pod))57 murano.create_service(environment, session, murano.mongodb(pod))58 deployed_environment = murano.deploy_environment(environment, session)59 murano.status_check(deployed_environment,60 [[cluster['name'], "master-1", 8080],61 [cluster['name'], "gateway-1", 3306, 27017],62 [cluster['name'], "minion-1", 4194]63 ],64 kubernetes=True)65 murano.check_postgresql(environment, "gateway-1", cluster['name'])66@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")67@pytest.mark.parametrize('package', [('DockerRedis', 'DockerTomcat',68 'DockerInfluxDB')], indirect=['package'])69@pytest.mark.testrail_id('836444')70def test_k8s_deploy_redis_tomcat_influxdb(environment, murano, session,71 cluster, pod, package):72 murano.create_service(environment, session, murano.redis(pod))73 murano.create_service(environment, session, murano.tomcat(pod))74 murano.create_service(environment, session, murano.influxdb(pod))75 deployed_environment = murano.deploy_environment(environment, session)76 murano.status_check(deployed_environment,77 [[cluster['name'], "master-1", 8080],78 [cluster['name'], "gateway-1", 6379, 8080, 8083,79 8086],80 [cluster['name'], "minion-1", 4194]81 ],82 kubernetes=True)83@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")84@pytest.mark.parametrize('package', [('DockerNginxSite', 'DockerMySQL',85 'DockerRedis')], indirect=['package'])86@pytest.mark.testrail_id('836445')87def test_k8s_deploy_mysql_nginxsite_redis(environment, murano, session,88 cluster, pod, package):89 murano.create_service(environment, session, murano.nginx_site(pod))90 murano.create_service(environment, session, murano.mysql(pod))91 murano.create_service(environment, session, murano.redis(pod))92 deployed_environment = murano.deploy_environment(environment, session)93 murano.status_check(deployed_environment,94 [[cluster['name'], "master-1", 8080],95 [cluster['name'], "gateway-1", 3306, 80, 6379],96 [cluster['name'], "minion-1", 4194]97 ],98 kubernetes=True)99@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")100@pytest.mark.parametrize('package', [('DockerMySQL', 'DockerTomcat')],101 indirect=['package'])102@pytest.mark.testrail_id('836447')103def test_k8s_deploy_mysql_wait_deploy_tomcat(environment, murano, session,104 cluster, pod, package):105 murano.create_service(environment, session, murano.mysql(pod))106 deployed_environment = murano.deploy_environment(environment, session)107 murano.status_check(deployed_environment,108 [[cluster['name'], "master-1", 8080],109 [cluster['name'], "gateway-1", 3306],110 [cluster['name'], "minion-1", 4194]111 ],112 kubernetes=True)113 session = murano.create_session(deployed_environment)114 murano.create_service(environment, session, murano.tomcat(pod))115 murano.deploy_environment(deployed_environment, session)116 murano.status_check(deployed_environment,117 [[cluster['name'], "master-1", 8080],118 [cluster['name'], "gateway-1", 3306, 8080],119 [cluster['name'], "minion-1", 4194]120 ],121 kubernetes=True)122@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")123@pytest.mark.parametrize('package', [('DockerMariaDB', 'DockerTomcat')],124 indirect=['package'])125@pytest.mark.testrail_id('836449')126def test_k8s_deploy_tomcat_wait_deploy_mariadb(environment, murano, session,127 cluster, pod, package):128 murano.create_service(environment, session, murano.tomcat(pod))129 deployed_environment = murano.deploy_environment(environment, session)130 murano.status_check(deployed_environment,131 [[cluster['name'], "master-1", 8080],132 [cluster['name'], "gateway-1", 8080],133 [cluster['name'], "minion-1", 4194]134 ],135 kubernetes=True)136 session = murano.create_session(deployed_environment)137 murano.create_service(environment, session, murano.mariadb(pod))138 murano.deploy_environment(deployed_environment, session)139 murano.status_check(deployed_environment,140 [[cluster['name'], "master-1", 8080],141 [cluster['name'], "gateway-1", 3306, 8080],142 [cluster['name'], "minion-1", 4194]143 ],144 kubernetes=True)145@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")146@pytest.mark.parametrize('package', [('DockerNginx', 'DockerCrate')],147 indirect=['package'])148@pytest.mark.testrail_id('836451')149def test_k8s_deploy_nginx_wait_deploy_crate(environment, murano, session,150 cluster, pod, package):151 murano.create_service(environment, session, murano.nginx(pod))152 deployed_environment = murano.deploy_environment(environment, session)153 murano.status_check(deployed_environment,154 [[cluster['name'], "master-1", 8080],155 [cluster['name'], "gateway-1", 80],156 [cluster['name'], "minion-1", 4194]157 ],158 kubernetes=True)159 session = murano.create_session(deployed_environment)160 murano.create_service(environment, session, murano.crate(pod))161 murano.deploy_environment(deployed_environment, session)162 murano.status_check(deployed_environment,163 [[cluster['name'], "master-1", 8080],164 [cluster['name'], "gateway-1", 80, 4200],165 [cluster['name'], "minion-1", 4194]166 ],167 kubernetes=True)168@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")169@pytest.mark.parametrize('package', [('DockerPostgreSQL', 'DockerInfluxDB')],170 indirect=['package'])171@pytest.mark.testrail_id('836452')172def test_k8s_deploy_postgresql_wait_deploy_influxdb(environment, murano, pod,173 cluster, session, package):174 murano.create_service(environment, session, murano.postgres(pod))175 deployed_environment = murano.deploy_environment(environment, session)176 murano.status_check(deployed_environment,177 [[cluster['name'], "master-1", 8080],178 [cluster['name'], "minion-1", 4194]179 ],180 kubernetes=True)181 murano.check_postgresql(environment, "gateway-1", cluster['name'])182 session = murano.create_session(deployed_environment)183 murano.create_service(environment, session, murano.influxdb(pod))184 murano.deploy_environment(deployed_environment, session)185 murano.status_check(deployed_environment,186 [[cluster['name'], "master-1", 8080],187 [cluster['name'], "gateway-1", 8083, 8086],188 [cluster['name'], "minion-1", 4194]189 ],190 kubernetes=True)191 murano.check_postgresql(environment, "gateway-1", cluster['name'])192@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")193@pytest.mark.parametrize('package', [('DockerMongoDB', 'DockerNginx')],194 indirect=['package'])195@pytest.mark.testrail_id('836453')196def test_k8s_deploy_mongodb_wait_deploy_nginx(environment, murano, pod,197 cluster, session, package):198 murano.create_service(environment, session, murano.mongodb(pod))199 deployed_environment = murano.deploy_environment(environment, session)200 murano.status_check(deployed_environment,201 [[cluster['name'], "master-1", 8080],202 [cluster['name'], "gateway-1", 27017],203 [cluster['name'], "minion-1", 4194]204 ],205 kubernetes=True)206 session = murano.create_session(deployed_environment)207 murano.create_service(environment, session, murano.nginx(pod))208 murano.deploy_environment(deployed_environment, session)209 murano.status_check(deployed_environment,210 [[cluster['name'], "master-1", 8080],211 [cluster['name'], "gateway-1", 80, 27017],212 [cluster['name'], "minion-1", 4194]213 ],214 kubernetes=True)215@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")216@pytest.mark.parametrize('package', [('DockerNginx', 'DockerHTTPd')],217 indirect=['package'])218@pytest.mark.testrail_id('836446')219def test_k8s_deploy_nginx_wait_deploy_httpd_multipod(220 environment, murano, session, cluster, pod, package):221 murano.create_service(environment, session, murano.nginx(pod))222 deployed_environment = murano.deploy_environment(environment, session)223 murano.status_check(deployed_environment,224 [[cluster['name'], "master-1", 8080],225 [cluster['name'], "gateway-1", 80],226 [cluster['name'], "minion-1", 4194]227 ],228 kubernetes=True)229 session = murano.create_session(deployed_environment)230 pod_2 = murano.create_service(environment, session, murano.pod(cluster, 1))231 murano.create_service(environment, session, murano.httpd(pod_2))232 murano.deploy_environment(deployed_environment, session)233 murano.status_check(deployed_environment,234 [[cluster['name'], "master-1", 8080],235 [cluster['name'], "gateway-1", 80, 1025],236 [cluster['name'], "minion-1", 4194]237 ],238 kubernetes=True)239@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")240@pytest.mark.parametrize('package', [('DockerGlassFish', 'DockerJenkins')],241 indirect=['package'])242@pytest.mark.testrail_id('836450')243def test_k8s_deploy_glassfish_wait_deploy_jenkins_multipod(244 environment, murano, session, cluster, pod, package):245 murano.create_service(environment, session, murano.glassfish(pod))246 deployed_environment = murano.deploy_environment(environment, session)247 murano.status_check(deployed_environment,248 [[cluster['name'], "master-1", 8080],249 [cluster['name'], "gateway-1", 4848, 8080],250 [cluster['name'], "minion-1", 4194]251 ],252 kubernetes=True)253 session = murano.create_session(deployed_environment)254 pod_2 = murano.create_service(environment, session, murano.pod(cluster, 1))255 murano.create_service(environment, session, murano.jenkins(pod_2))256 murano.deploy_environment(deployed_environment, session)257 murano.status_check(deployed_environment,258 [[cluster['name'], "master-1", 8080],259 [cluster['name'], "gateway-1", 4848, 8080, 1025],260 [cluster['name'], "minion-1", 4194]261 ],262 kubernetes=True)263@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")264@pytest.mark.parametrize('package', [('DockerNginx', 'DockerCrate')],265 indirect=['package'])266@pytest.mark.testrail_id('836454')267def test_k8s_deploy_crate_after_nginx_removal(environment, murano, session,268 cluster, pod, package):269 nginx = murano.create_service(environment, session, murano.nginx(pod))270 deployed_environment = murano.deploy_environment(environment, session)271 murano.status_check(deployed_environment,272 [[cluster['name'], "master-1", 8080],273 [cluster['name'], "gateway-1", 80],274 [cluster['name'], "minion-1", 4194]275 ],276 kubernetes=True)277 session = murano.create_session(deployed_environment)278 murano.delete_service(environment, session, nginx)279 murano.create_service(environment, session, murano.crate(pod))280 murano.deploy_environment(deployed_environment, session)281 murano.status_check(deployed_environment,282 [[cluster['name'], "master-1", 8080],283 [cluster['name'], "gateway-1", 4200],284 [cluster['name'], "minion-1", 4194]285 ],286 kubernetes=True)287 murano.status_check(deployed_environment,288 [[cluster['name'], "gateway-1", 80]],289 kubernetes=True, negative=True)290@pytest.mark.check_env_("is_any_compute_suitable_for_max_flavor")291@pytest.mark.testrail_id('836455')292def test_k8s_redeploy_influxdb_with_another_parameters(293 environment, murano, session, cluster, pod, package):294 influx = murano.create_service(environment, session, murano.influxdb(pod))295 deployed_environment = murano.deploy_environment(environment, session)296 murano.status_check(deployed_environment,297 [[cluster['name'], "master-1", 8080],298 [cluster['name'], "gateway-1", 8083, 8086],299 [cluster['name'], "minion-1", 4194]300 ],301 kubernetes=True)302 session = murano.create_session(deployed_environment)303 murano.delete_service(environment, session, influx)304 murano.create_service(environment, session, murano.influxdb(305 pod, name='InfluxNew', db='db_1;db_2'))306 murano.deploy_environment(deployed_environment, session)307 murano.status_check(deployed_environment,308 [[cluster['name'], "master-1", 8080],309 [cluster['name'], "gateway-1", 8083, 8086],310 [cluster['name'], "minion-1", 4194]311 ],...
test_docker_deploy_advanced.py
Source:test_docker_deploy_advanced.py
...21 docker, package):22 murano.create_service(environment, session, murano.crate(docker))23 murano.create_service(environment, session, murano.nginx_site(docker))24 murano.create_service(environment, session, murano.glassfish(docker))25 murano.deploy_environment(environment, session)26 murano.deployment_success_check(environment, ports=[22, 4200, 4300, 80,27 4848, 8080, 8181])28@pytest.mark.parametrize('package', [('DockerCrate', 'DockerNginx',29 'DockerMongoDB')], indirect=['package'])30@pytest.mark.testrail_id('836386')31def test_deploy_docker_crate_nginx_mongodb(environment, murano, session,32 docker, package):33 murano.create_service(environment, session, murano.crate(docker))34 murano.create_service(environment, session, murano.nginx(docker))35 murano.create_service(environment, session, murano.mongodb(docker))36 murano.deploy_environment(environment, session)37 murano.deployment_success_check(environment, ports=[22, 4200, 4300, 80,38 27017])39@pytest.mark.parametrize('package', [('DockerMariaDB', 'DockerPostgreSQL',40 'DockerMongoDB')], indirect=['package'])41@pytest.mark.testrail_id('836389')42def test_deploy_docker_mariadb_postgresql_mongodb(environment, murano, session,43 docker, package):44 murano.create_service(environment, session, murano.mariadb(docker))45 murano.create_service(environment, session, murano.postgres(docker))46 murano.create_service(environment, session, murano.mongodb(docker))47 murano.deploy_environment(environment, session)48 murano.deployment_success_check(environment, ports=[22, 3306, 5432, 27017])49@pytest.mark.parametrize('package', [('DockerRedis', 'DockerTomcat',50 'DockerInfluxDB')], indirect=['package'])51@pytest.mark.testrail_id('836396')52def test_deploy_docker_redis_tomcat_influxdb(environment, murano, session,53 docker, package):54 murano.create_service(environment, session, murano.redis(docker))55 murano.create_service(environment, session, murano.tomcat(docker))56 murano.create_service(environment, session, murano.influxdb(docker))57 murano.deploy_environment(environment, session)58 murano.deployment_success_check(environment, ports=[22, 6379, 8080, 8083,59 8086])60@pytest.mark.parametrize('package', [('DockerNginxSite', 'DockerMySQL',61 'DockerRedis')], indirect=['package'])62@pytest.mark.testrail_id('836391')63def test_deploy_docker_mysql_nginxsite_redis(environment, murano, session,64 docker, package):65 murano.create_service(environment, session, murano.nginx_site(docker))66 murano.create_service(environment, session, murano.mysql(docker))67 murano.create_service(environment, session, murano.redis(docker))68 murano.deploy_environment(environment, session)69 murano.deployment_success_check(environment, ports=[22, 3306, 80, 6379])70@pytest.mark.parametrize('package', [('DockerNginx', 'DockerHTTPd')],71 indirect=['package'])72@pytest.mark.testrail_id('836394')73def test_deploy_docker_nginx_wait_deploy_httpd(environment, murano, session,74 docker, package):75 murano.create_service(environment, session, murano.nginx(docker))76 deployed_environment = murano.deploy_environment(environment, session)77 murano.deployment_success_check(environment, ports=[22, 80])78 session = murano.create_session(deployed_environment)79 murano.create_service(environment, session, murano.httpd(docker))80 murano.deploy_environment(deployed_environment, session)81 murano.deployment_success_check(environment, ports=[22, 80, 1025])82@pytest.mark.parametrize('package', [('DockerMySQL', 'DockerTomcat')],83 indirect=['package'])84@pytest.mark.testrail_id('836392')85def test_deploy_docker_mysql_wait_deploy_tomcat(environment, murano, session,86 docker, package):87 murano.create_service(environment, session, murano.mysql(docker))88 deployed_environment = murano.deploy_environment(environment, session)89 murano.deployment_success_check(environment, ports=[22, 3306])90 session = murano.create_session(deployed_environment)91 murano.create_service(environment, session, murano.tomcat(docker))92 murano.deploy_environment(deployed_environment, session)93 murano.deployment_success_check(environment, ports=[22, 3306, 8080])94@pytest.mark.parametrize('package', [('DockerMariaDB', 'DockerTomcat')],95 indirect=['package'])96@pytest.mark.testrail_id('836397')97def test_deploy_docker_tomcat_wait_deploy_mariadb(environment, murano, session,98 docker, package):99 murano.create_service(environment, session, murano.tomcat(docker))100 deployed_environment = murano.deploy_environment(environment, session)101 murano.deployment_success_check(environment, ports=[22, 8080])102 session = murano.create_session(deployed_environment)103 murano.create_service(environment, session, murano.mariadb(docker))104 murano.deploy_environment(deployed_environment, session)105 murano.deployment_success_check(environment, ports=[22, 8080, 3306])106@pytest.mark.parametrize('package', [('DockerGlassFish', 'DockerJenkins')],107 indirect=['package'])108@pytest.mark.testrail_id('836388')109def test_deploy_docker_glassfish_wait_deploy_jenkins(environment, murano,110 session, docker, package):111 murano.create_service(environment, session, murano.glassfish(docker))112 deployed_environment = murano.deploy_environment(environment, session)113 murano.deployment_success_check(environment, ports=[22, 4848, 8080, 8181])114 session = murano.create_session(deployed_environment)115 murano.create_service(environment, session, murano.jenkins(docker))116 murano.deploy_environment(deployed_environment, session)117 murano.deployment_success_check(environment, ports=[22, 4848, 8080, 8181,118 1025])119@pytest.mark.parametrize('package', [('DockerNginxSite', 'DockerCrate')],120 indirect=['package'])121@pytest.mark.testrail_id('836393')122def test_deploy_docker_nginx_wait_deploy_crate(environment, murano, session,123 docker, package):124 murano.create_service(environment, session, murano.nginx_site(docker))125 deployed_environment = murano.deploy_environment(environment, session)126 murano.deployment_success_check(environment, ports=[22, 80])127 session = murano.create_session(deployed_environment)128 murano.create_service(environment, session, murano.crate(docker))129 murano.deploy_environment(deployed_environment, session)130 murano.deployment_success_check(environment, ports=[22, 80, 4200, 4300])131@pytest.mark.parametrize('package', [('DockerPostgreSQL', 'DockerInfluxDB')],132 indirect=['package'])133@pytest.mark.testrail_id('836395')134def test_deploy_docker_postgresql_wait_deploy_influxdb(murano, session, docker,135 environment, package):136 murano.create_service(environment, session, murano.postgres(docker))137 deployed_environment = murano.deploy_environment(environment, session)138 murano.deployment_success_check(environment, ports=[22, 5432])139 session = murano.create_session(deployed_environment)140 murano.create_service(environment, session, murano.influxdb(docker))141 murano.deploy_environment(deployed_environment, session)142 murano.deployment_success_check(environment, ports=[22, 5432, 8083, 8086])143@pytest.mark.parametrize('package', [('DockerMongoDB', 'DockerNginx')],144 indirect=['package'])145@pytest.mark.testrail_id('836390')146def test_deploy_docker_mongodb_wait_deploy_nginx(environment, murano, session,147 docker, package):148 murano.create_service(environment, session, murano.mongodb(docker))149 deployed_environment = murano.deploy_environment(environment, session)150 murano.deployment_success_check(environment, ports=[22, 27017])151 session = murano.create_session(deployed_environment)152 murano.create_service(environment, session, murano.nginx(docker))153 murano.deploy_environment(deployed_environment, session)...
test_docker_deploy_sanity.py
Source:test_docker_deploy_sanity.py
...15pytestmark = pytest.mark.undestructive16@pytest.mark.testrail_id('836410')17def test_deploy_docker_influx(environment, murano, session, docker):18 murano.create_service(environment, session, murano.influxdb(docker))19 murano.deploy_environment(environment, session)20 murano.deployment_success_check(environment, ports=[22, 8083, 8086])21@pytest.mark.testrail_id('836437')22def test_deploy_docker_grafana(environment, murano, session, docker):23 influx_service = murano.create_service(environment, session,24 murano.influxdb(docker))25 murano.create_service(environment, session,26 murano.grafana(docker, influx_service))27 murano.deploy_environment(environment, session)28 murano.deployment_success_check(environment, ports=[22, 8083, 8086, 80])29@pytest.mark.parametrize('package', [('DockerMongoDB',)], indirect=['package'])30@pytest.mark.testrail_id('836419')31def test_deploy_docker_mongodb(environment, murano, session, docker, package):32 murano.create_service(environment, session, murano.mongodb(docker))33 murano.deploy_environment(environment, session)34 murano.deployment_success_check(environment, ports=[22, 27017])35@pytest.mark.parametrize('package', [('DockerNginx',)], indirect=['package'])36@pytest.mark.testrail_id('836422')37def test_deploy_docker_nginx(environment, murano, session, docker, package):38 murano.create_service(environment, session, murano.nginx(docker))39 murano.deploy_environment(environment, session)40 murano.deployment_success_check(environment, ports=[22, 80])41@pytest.mark.parametrize('package', [('DockerGlassFish',)],42 indirect=['package'])43@pytest.mark.testrail_id('836404')44def test_deploy_docker_glassfish(environment, murano, session, docker,45 package):46 murano.create_service(environment, session, murano.glassfish(docker))47 murano.deploy_environment(environment, session)48 murano.deployment_success_check(environment, ports=[22, 4848, 8080, 8181])49@pytest.mark.parametrize('package', [('DockerMariaDB',)], indirect=['package'])50@pytest.mark.testrail_id('836416')51def test_deploy_docker_mariadb(environment, murano, session, docker, package):52 murano.create_service(environment, session, murano.mariadb(docker))53 murano.deploy_environment(environment, session)54 murano.deployment_success_check(environment, ports=[22, 3306])55@pytest.mark.parametrize('package', [('DockerMySQL',)], indirect=['package'])56@pytest.mark.testrail_id('836401')57def test_deploy_docker_mysql(environment, murano, session, docker, package):58 murano.create_service(environment, session, murano.mysql(docker))59 murano.deploy_environment(environment, session)60 murano.deployment_success_check(environment, ports=[22, 3306])61@pytest.mark.parametrize('package', [('DockerJenkins',)], indirect=['package'])62@pytest.mark.testrail_id('836413')63def test_deploy_docker_jenkins(environment, murano, session, docker, package):64 murano.create_service(environment, session, murano.jenkins(docker))65 murano.deploy_environment(environment, session)66 murano.deployment_success_check(environment, ports=[22, 8080])67@pytest.mark.parametrize('package', [('DockerPostgreSQL',)],68 indirect=['package'])69@pytest.mark.testrail_id('836428')70def test_deploy_docker_postgres(environment, murano, session, docker, package):71 murano.create_service(environment, session, murano.postgres(docker))72 murano.deploy_environment(environment, session)73 murano.deployment_success_check(environment, ports=[22, 5432])74@pytest.mark.parametrize('package', [('DockerCrate',)], indirect=['package'])75@pytest.mark.testrail_id('836398')76def test_deploy_docker_crate(environment, murano, session, docker, package):77 murano.create_service(environment, session, murano.crate(docker))78 murano.deploy_environment(environment, session)79 murano.deployment_success_check(environment, ports=[22, 4200, 4300])80@pytest.mark.parametrize('package', [('DockerRedis',)], indirect=['package'])81@pytest.mark.testrail_id('836431')82def test_deploy_docker_redis(environment, murano, session, docker, package):83 murano.create_service(environment, session, murano.redis(docker))84 murano.deploy_environment(environment, session)85 murano.deployment_success_check(environment, ports=[22, 6379])86@pytest.mark.parametrize('package', [('DockerTomcat',)], indirect=['package'])87@pytest.mark.testrail_id('836434')88def test_deploy_docker_tomcat(environment, murano, session, docker, package):89 murano.create_service(environment, session, murano.tomcat(docker))90 murano.deploy_environment(environment, session)91 murano.deployment_success_check(environment, ports=[22, 8080])92@pytest.mark.parametrize('package', [('DockerHTTPd',)], indirect=['package'])93@pytest.mark.testrail_id('836407')94def test_deploy_docker_httpd(environment, murano, session, docker, package):95 murano.create_service(environment, session, murano.httpd(docker))96 murano.deploy_environment(environment, session)97 murano.deployment_success_check(environment, ports=[22, 80])98@pytest.mark.parametrize('package', [('DockerHTTPdSite',)],99 indirect=['package'])100@pytest.mark.testrail_id('843444')101def test_deploy_docker_httpd_site(environment, murano, session, docker,102 package):103 murano.create_service(environment, session, murano.httpd_site(docker))104 murano.deploy_environment(environment, session)105 murano.deployment_success_check(environment, ports=[22, 80])106@pytest.mark.parametrize('package', [('DockerNginxSite',)],107 indirect=['package'])108@pytest.mark.testrail_id('836425')109def test_deploy_docker_nginx_site(environment, murano, session, docker,110 package):111 murano.create_service(environment, session, murano.nginx_site(docker))112 murano.deploy_environment(environment, session)...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!