Skip to content

Commit 880f1d2

Browse files
Stop skipping ruff-based integration tests locally
1 parent e8a7540 commit 880f1d2

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

tests/usethis/_core/test_core_tool.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
import subprocess
32
import unittest
43
import 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]

0 commit comments

Comments
 (0)