@pytest.mark.docker
def test_large_environment():
    long_env_var_length = (127 * 1024)
    large_environment = {'a': ('0' * long_env_var_length), 'b': ('0' * long_env_var_length), 'c': ('0' * long_env_var_length), 'd': ('0' * long_env_var_length)}
    with DockerContainer(DEFAULT_IMAGE) as container:
        assert (container.call(['sh', '-c', 'echo ${#d}'], env=large_environment, capture_output=True) == f'''{long_env_var_length}
''')
@pytest.mark.docker
def test_large_environment():
    long_env_var_length = (127 * 1024)
    large_environment = {'a': ('0' * long_env_var_length), 'b': ('0' * long_env_var_length), 'c': ('0' * long_env_var_length), 'd': ('0' * long_env_var_length)}
    with DockerContainer(DEFAULT_IMAGE) as container:
        assert (container.call(['sh', '-c', 'echo ${#d}'], env=large_environment, capture_output=True) == f'{long_env_var_length}
')