Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/FileBackup/Impl/Common.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def GetDestinationHelp() -> str:
Writes content to a SFTP server.

Format:
ftp://<username>:<password or posix path to private key>@<host>[:<port>][/<working_dir>]
ftp://<username>:<password or posix path to private key>@<host>\\[:<port>]\\[/<working_dir>]

Examples:
ftp://my_username:my_password@my_server.com
Expand All @@ -304,7 +304,7 @@ def GetDestinationHelp() -> str:
Write content using the Fast Glacier application (https://fastglacier.com/).

Format:
fast_glacier://<fast_glacier_account_name>@<aws_region>[/<glacier_dir>]
fast_glacier://<fast_glacier_account_name>@<aws_region>\\[/<glacier_dir>]

Examples:
fast_glacier://MyFastGlacierAccount@us-west-2
Expand All @@ -315,7 +315,7 @@ def GetDestinationHelp() -> str:
Write content using the S3 Browser application (https://s3browser.com/).

Format:
s3_browser://<s3_browser_account_name>@<bucket_name>[/<working_dir>]
s3_browser://<s3_browser_account_name>@<bucket_name>\\[/<working_dir>]

Examples:
s3_browser://MyS3BrowserAccount@MyBucket
Expand Down
18 changes: 8 additions & 10 deletions tests/Mirror_UnitTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,9 +937,8 @@ def test_NoOutput(self):
@pytest.mark.parametrize("validate_type", [ValidateType.standard, ValidateType.complete])
def test_NoChange(self, tmp_path_factory, working_dir, validate_type):
self._Test(
lambda content_dir: (
textwrap.dedent(
"""\
lambda content_dir: textwrap.dedent(
"""\
Heading...
Reading 'BackupSnapshot.json'...

Expand All @@ -964,13 +963,12 @@ def test_NoChange(self, tmp_path_factory, working_dir, validate_type):
DONE! (0, <scrubbed duration>)
DONE! (0, <scrubbed duration>)
""",
).format(
(
"Retrieving file information..."
if validate_type == ValidateType.standard
else "Calculating hashes..."
),
)
).format(
(
"Retrieving file information..."
if validate_type == ValidateType.standard
else "Calculating hashes..."
),
),
tmp_path_factory,
working_dir,
Expand Down
Loading
Loading