Browse Source

Refactor: improve a test name

https://github.com/borgbackup/borg/pull/6186#issuecomment-1023504905
> could you rename the strip test a little, so that there is
> ..._remote_repo in the test name. if one does not fully read the test
> (like me), one would assume that a strip-related test also applies to
> local repos, but in this case, the condition checked only applies to
> remote repos.
Andrey Bienkowski 3 years ago
parent
commit
6a5d24650f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/borg/testsuite/archiver.py

+ 1 - 1
src/borg/testsuite/archiver.py

@@ -3917,7 +3917,7 @@ class RemoteArchiverTestCase(ArchiverTestCase):
     def test_migrate_lock_alive(self):
         pass
 
-    def test_strip_components_doesnt_leak(self):
+    def test_remote_repo_strip_components_doesnt_leak(self):
         self.cmd('init', '--encryption=repokey', self.repository_location)
         self.create_regular_file('dir/file', contents=b"test file contents 1")
         self.create_regular_file('dir/file2', contents=b"test file contents 2")