def test_native_exec(client, socat_containers, native_name, pull_images): docker_client = get_docker_client(host(client)) test_msg = 'EXEC_WORKS' docker_container = docker_client. \ create_container(NATIVE_TEST_IMAGE, name=native_name, tty=True, stdin_open=True, detach=True, command=['/bin/bash']) rancher_container, _ = start_and_wait(client, docker_container, docker_client, native_name) assert_execute(rancher_container, test_msg)