mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Add missed HAVE_REFLINK in test_files.py (#5272)
This commit is contained in:
commit
e999987300
1 changed files with 2 additions and 0 deletions
|
|
@ -88,10 +88,12 @@ class MoveTest(_common.TestCase):
|
||||||
self.i.move(operation=MoveOperation.COPY)
|
self.i.move(operation=MoveOperation.COPY)
|
||||||
self.assertExists(self.path)
|
self.assertExists(self.path)
|
||||||
|
|
||||||
|
@unittest.skipUnless(_common.HAVE_REFLINK, "need reflink")
|
||||||
def test_reflink_arrives(self):
|
def test_reflink_arrives(self):
|
||||||
self.i.move(operation=MoveOperation.REFLINK_AUTO)
|
self.i.move(operation=MoveOperation.REFLINK_AUTO)
|
||||||
self.assertExists(self.dest)
|
self.assertExists(self.dest)
|
||||||
|
|
||||||
|
@unittest.skipUnless(_common.HAVE_REFLINK, "need reflink")
|
||||||
def test_reflink_does_not_depart(self):
|
def test_reflink_does_not_depart(self):
|
||||||
self.i.move(operation=MoveOperation.REFLINK_AUTO)
|
self.i.move(operation=MoveOperation.REFLINK_AUTO)
|
||||||
self.assertExists(self.path)
|
self.assertExists(self.path)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue