1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-21 13:47:16 +00:00

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.
This commit is contained in:
Andrey Bienkowski 2022-01-27 23:03:15 +03:00
parent e401d674b9
commit 6a5d24650f

View file

@ -3917,7 +3917,7 @@ def test_config(self):
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")