summaryrefslogtreecommitdiff
path: root/tests/unit/create/via_global_ref/test_api.py
blob: a863b0e450bb403b1beb55a040eee45114963b61 (plain)
1
2
3
4
5
6
7
8
from __future__ import annotations

from virtualenv.create.via_global_ref import api


def test_can_symlink_when_symlinks_not_enabled(mocker):
    mocker.patch.object(api, "fs_supports_symlink", return_value=False)
    assert api.ViaGlobalRefMeta().can_symlink is False