瀏覽代碼

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 年之前
父節點
當前提交
6a5d24650f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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")