test(docker): skip dockerignore assertion in partial checkouts

This commit is contained in:
Brooklyn Nicholson
2026-04-27 15:12:53 -05:00
parent 05d1db0415
commit 7ada40e686

View File

@@ -138,6 +138,9 @@ def test_dockerfile_materializes_local_tui_ink_package(dockerfile_text):
def test_dockerignore_excludes_nested_dependency_dirs():
if not DOCKERIGNORE.exists():
pytest.skip(".dockerignore not present in this checkout")
text = DOCKERIGNORE.read_text()
assert "**/node_modules" in text