@pytest.mark.docker
def test_environment_executor():
    with DockerContainer(DEFAULT_IMAGE) as container:
        assignment = EnvironmentAssignment('TEST=$(echo 42)')
        assert (assignment.evaluated_value({}, container.environment_executor) == '42')
@pytest.mark.docker
def test_environment_executor():
    with DockerContainer(DEFAULT_IMAGE) as container:
        assignment = EnvironmentAssignment('TEST=$(echo 42)')
        assert (assignment.evaluated_value({}, container.environment_executor) == '42')