src/integration-test/java/GreengrassBuildWithDockerDeploymentsIT.java
@Test
    public void shouldReusePython3FunctionWithDocker() throws IOException {
        File tempDeploymentConfFile = greengrassITShared.setupReusedFunctionDeploymentConf(Optional.empty(), GreengrassITShared.HELLO_WORLD_PYTHON_3_PROD_PARTIAL, greengrassITShared.getGroupName());

        // Build it
        runContainer(greengrassITShared.getPython3HelloWorldDeploymentCommand(Optional.empty()), EXIT_CODE_IS_ZERO);

        // Try to reuse it
        runContainer(greengrassITShared.getReusedFunctionDeploymentCommand(tempDeploymentConfFile), EXIT_CODE_IS_ZERO);
    }
// Test set 11: Reuse Python 3 Hello World in another group with Docker
Test set 11: Reuse Python 3 Hello World in another group with Docker
Test set 11 : Reuse Python 3 Hello World in another group with Docker
@Test
    public void shouldReusePython3FunctionWithDocker() throws IOException {
        File tempDeploymentConfFile = greengrassITShared.setupReusedFunctionDeploymentConf(Optional.empty(), GreengrassITShared.HELLO_WORLD_PYTHON_3_PROD_PARTIAL, greengrassITShared.getGroupName());
        runContainer(greengrassITShared.getPython3HelloWorldDeploymentCommand(Optional.empty()), EXIT_CODE_IS_ZERO);
        runContainer(greengrassITShared.getReusedFunctionDeploymentCommand(tempDeploymentConfFile), EXIT_CODE_IS_ZERO);
    }
@ Test public void shouldReusePython3FunctionWithDocker ( ) throws IOException { File tempDeploymentConfFile = greengrassITShared . setupReusedFunctionDeploymentConf ( Optional . empty ( ) , GreengrassITShared . HELLO_WORLD_PYTHON_3_PROD_PARTIAL , greengrassITShared . getGroupName ( ) ) ; runContainer ( greengrassITShared . getPython3HelloWorldDeploymentCommand ( Optional . empty ( ) ) , EXIT_CODE_IS_ZERO ) ; runContainer ( greengrassITShared . getReusedFunctionDeploymentCommand ( tempDeploymentConfFile ) , EXIT_CODE_IS_ZERO ) ; }
Test set 11: Reuse Python 3 Hello World in another group with Docker
Test set 11 : Reuse Python 3 Hello World in another group with Docker
// Build it // Try to reuse it