File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import os
21import subprocess
32import unittest
43import unittest .mock
@@ -2840,13 +2839,11 @@ def test_blank_slate(self, uv_init_dir: Path):
28402839 # Assert
28412840 assert (uv_init_dir / "pyproject.toml" ).read_text () == contents
28422841
2843- @pytest .mark .skipif (
2844- not os .getenv ("CI" ),
2845- reason = "https://github.com/usethis-python/usethis-python/issues/45" ,
2846- )
28472842 @pytest .mark .usefixtures ("_vary_network_conn" )
28482843 def test_roundtrip (self , uv_init_dir : Path ):
28492844 # Arrange
2845+ with change_cwd (uv_init_dir ), files_manager ():
2846+ ensure_symlink_mode ()
28502847 contents = (uv_init_dir / "pyproject.toml" ).read_text ()
28512848
28522849 # Act
@@ -2995,10 +2992,6 @@ def test_use_after(self, uv_init_repo_dir: Path):
29952992 assert "ruff-format" in hook_names
29962993 assert "ruff" in hook_names
29972994
2998- @pytest .mark .skipif (
2999- not os .getenv ("CI" ),
3000- reason = "https://github.com/usethis-python/usethis-python/issues/45" ,
3001- )
30022995 @pytest .mark .usefixtures ("_vary_network_conn" )
30032996 def test_remove (
30042997 self , uv_init_repo_dir : Path , capfd : pytest .CaptureFixture [str ]
You can’t perform that action at this time.
0 commit comments