diff --git a/test/test_files.py b/test/test_files.py index d0d93987c..4ed2f8608 100644 --- a/test/test_files.py +++ b/test/test_files.py @@ -165,7 +165,7 @@ class MoveTest(BeetsTestCase): self.i.move(operation=MoveOperation.LINK) assert self.dest.exists() assert os.path.islink(syspath(self.dest)) - assert self.dest.resolve() == self.path + assert self.dest.resolve() == self.path.resolve() @unittest.skipUnless(_common.HAVE_SYMLINK, "need symlinks") def test_link_does_not_depart(self): diff --git a/test/test_importer.py b/test/test_importer.py index a7d57dbb2..56327af06 100644 --- a/test/test_importer.py +++ b/test/test_importer.py @@ -131,7 +131,7 @@ class NonAutotaggedImportTest(PathsMixin, AsIsImporterMixin, ImportTestCase): assert self.track_lib_path.exists() assert self.track_lib_path.is_symlink() - assert self.track_lib_path.resolve() == self.track_import_path + assert self.track_lib_path.resolve() == self.track_import_path.resolve() @unittest.skipUnless(_common.HAVE_HARDLINK, "need hardlinks") def test_import_hardlink_arrives(self):