Skip to content

Commit

Permalink
[wip] tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewallace1979 committed Sep 20, 2023
1 parent 052bd9d commit f7782bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file added .github/recover_process.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions tests/test_barman_cloud_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def test_uses_postgres_backup_uploader(
backup_name=None,
postgres=postgres_connection.return_value,
max_archive_size=107374182400,
min_chunk_size=None,
cloud_interface=cloud_interface_mock.return_value,
)
uploader.backup.assert_called_once()
Expand Down Expand Up @@ -437,6 +438,7 @@ def test_uses_barman_backup_uploader_when_running_as_hook(
server_name="test_server",
compression=None,
max_archive_size=107374182400,
min_chunk_size=None,
cloud_interface=cloud_interface_mock.return_value,
backup_dir=EXAMPLE_BACKUP_DIR,
backup_id=EXAMPLE_BACKUP_ID,
Expand Down Expand Up @@ -470,6 +472,7 @@ def test_uses_barman_backup_uploader_when_running_as_retry_hook(
server_name="test_server",
compression=None,
max_archive_size=107374182400,
min_chunk_size=None,
cloud_interface=cloud_interface_mock.return_value,
backup_dir=EXAMPLE_BACKUP_DIR,
backup_id=EXAMPLE_BACKUP_ID,
Expand Down

0 comments on commit f7782bc

Please sign in to comment.