diff options
| author | Anthony Sottile <asottile@umich.edu> | 2020-05-01 17:26:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-02 01:26:46 +0100 |
| commit | 45188a75c5d73d6493640c7834c8ba33f6a7c772 (patch) | |
| tree | 7623932f908707a0130ccad496c2ce458cc2d545 /tests | |
| parent | 3dfa4fde5c8f744262331cee172bda2b0e870507 (diff) | |
| download | virtualenv-45188a75c5d73d6493640c7834c8ba33f6a7c772.tar.gz | |
Fix typo in symlink detection (#1803)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/create/via_global_ref/test_api.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/create/via_global_ref/test_api.py b/tests/unit/create/via_global_ref/test_api.py new file mode 100644 index 0000000..ade64d4 --- /dev/null +++ b/tests/unit/create/via_global_ref/test_api.py @@ -0,0 +1,6 @@ +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 |
