fix check for symlink path in unittest
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 3 Feb 2020 09:09:48 +0000 (10:09 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 4 Feb 2020 13:08:27 +0000 (14:08 +0100)
commit5f939f6651a6551c81b61933f2f9cc63b84c2073
tree178e308521c5085ef9238eaac5cf2ac6d9cdad3c
parentc650acfaa0062530ed59219d5babba40021d3bdf
fix check for symlink path in unittest

os.path.exists() will return false in the event that it is passed
a broken symlink which defeats the point of testing whether the
link itself exists. use path.lexist() instead which properly
checks with O_NOFOLLOW.
testing/test_deltatar.py