From a940ec76bc5b7de82e4c9a797d9bb99da2c3ef97 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 3 Jan 2021 17:55:45 +0100 Subject: [PATCH] move requires_hardlinks upwards --- src/borg/testsuite/archiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/borg/testsuite/archiver.py b/src/borg/testsuite/archiver.py index 474681667..8641a0c1b 100644 --- a/src/borg/testsuite/archiver.py +++ b/src/borg/testsuite/archiver.py @@ -382,6 +382,8 @@ class ArchiverTestCaseBase(BaseTestCase): class ArchiverTestCase(ArchiverTestCaseBase): + requires_hardlinks = pytest.mark.skipif(not are_hardlinks_supported(), reason='hardlinks not supported') + def test_basic_functionality(self): have_root = self.create_test_files() # fork required to test show-rc output @@ -812,8 +814,6 @@ class ArchiverTestCase(ArchiverTestCaseBase): self.cmd('init', '--encryption=repokey', self.repository_location) self.cmd('create', self.repository_location + '::test', 'input') - requires_hardlinks = pytest.mark.skipif(not are_hardlinks_supported(), reason='hardlinks not supported') - @requires_hardlinks @unittest.skipUnless(has_llfuse, 'llfuse not installed') def test_fuse_mount_hardlinks(self):