fix #4179 - bring back the current testrun symlink

This commit is contained in:
Ronny Pfannschmidt
2018-10-17 20:43:27 +02:00
parent 93bdbf7572
commit cc335d44a0
3 changed files with 26 additions and 0 deletions

View File

@@ -196,6 +196,10 @@ class TestNumberedDir(object):
assert d.name.startswith(self.PREFIX)
assert d.name.endswith(str(i))
symlink = tmp_path.joinpath(self.PREFIX + "current")
assert symlink.is_symlink()
assert symlink.resolve() == d.resolve()
def test_cleanup_lock_create(self, tmp_path):
d = tmp_path.joinpath("test")
d.mkdir()