fix check for symlink path in unittest
[python-delta-tar] / testing / test_deltatar.py
index adfcfbb..ae5e183 100644 (file)
@@ -1883,7 +1883,7 @@ class DeltaTarTest(BaseTest):
         # retrieve the first item it finds for a given path which in the case
         # at hand is a symlink to some non-existent path
         fullpath = os.path.join("source_dir", testpath)
-        assert not os.path.exists(fullpath)
+        assert not os.path.lexists(fullpath)
 
 
 def fsapi_access_true (self):