@pytest.mark.docker
def test_cwd():
    with DockerContainer(DEFAULT_IMAGE, cwd='/cibuildwheel/working_directory') as container:
        assert (container.call(['pwd'], capture_output=True) == '/cibuildwheel/working_directory\n')
        assert (container.call(['pwd'], capture_output=True, cwd='/opt') == '/opt\n')
@pytest.mark.docker
def test_cwd():
    with DockerContainer(DEFAULT_IMAGE, cwd='/cibuildwheel/working_directory') as container:
        assert (container.call(['pwd'], capture_output=True) == '/cibuildwheel/working_directory\n')
        assert (container.call(['pwd'], capture_output=True, cwd='/opt') == '/opt\n')