Skip to content

Commit d7d0c04

Browse files
committed
Make test_symlink compatible with automatic adding of subprojects in settings.gradle:
All tests pass with 7.1.0-rc01 on Linux
1 parent 0cea9c9 commit d7d0c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: product/gradle-plugin/src/test/integration/test_gradle_plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ def test_fail(self):
668668
def test_symlink(self):
669669
run = self.RunGradle("base", "PythonReqs/1a", run=False)
670670
link_path = f"{run.project_dir}/app"
671-
real_path = f"{run.project_dir}/app_real"
672-
os.rename(link_path, real_path)
671+
real_path = f"{run.project_dir}/subdir/app"
672+
os.renames(link_path, real_path)
673673
os.symlink(real_path, link_path)
674674
run.rerun(requirements=["apple/__init__.py"])
675675

0 commit comments

Comments
 (0)