python/coverage: update to 7.6.5
[oi-userland.git] / components / python / barman / patches / 02-tests-cloud.patch
blob19f0ff391673aee3d58514845e8274c923429dcc
1 We have no packages needed for cloud testing
3 --- barman-release-3.11.1/tests/requirements_dev.txt.orig
4 +++ barman-release-3.11.1/tests/requirements_dev.txt
5 @@ -1,8 +1,4 @@
7 -.[cloud]
8 -.[azure]
9 -.[snappy]
10 -.[google]
11 pytest
12 mock
14 --- barman-release-3.11.1/tests/test_barman_cloud_backup.py.orig
15 +++ barman-release-3.11.1/tests/test_barman_cloud_backup.py
16 @@ -157,6 +157,7 @@
18 assert expected_message in err
20 + @pytest.mark.skip(reason="We have no packages needed for cloud testing")
21 @pytest.mark.parametrize(
22 ("snapshot_args", "expected_error"),
24 @@ -337,6 +338,7 @@
25 # AND its backup function was called exactly once
26 mock_snapshot_backup.backup.assert_called_once()
28 + @pytest.mark.skip(reason="We have no packages needed for cloud testing")
29 @pytest.mark.parametrize(
30 ("aws_cli_args", "expected_cloud_interface_kwargs"),
32 @@ -386,6 +388,7 @@
33 **expected_cloud_interface_kwargs
36 + @pytest.mark.skip(reason="We have no packages needed for cloud testing")
37 @pytest.mark.parametrize(
38 ("gcp_cli_args", "expected_cloud_interface_kwargs"),
40 --- barman-release-3.11.1/tests/test_barman_cloud_restore.py.orig
41 +++ barman-release-3.11.1/tests/test_barman_cloud_restore.py
42 @@ -93,6 +93,7 @@
43 mock_backup_info, recovery_dir, {}
46 + @pytest.mark.skip(reason="We have no packages needed for cloud testing")
47 @pytest.mark.parametrize(
48 ("provider", "snapshot_args", "expected_error"),
50 --- barman-release-3.11.1/tests/test_executor.py.orig
51 +++ barman-release-3.11.1/tests/test_executor.py
52 @@ -1901,6 +1901,7 @@
53 # AND the exception message was logged
54 assert "test-message" in caplog.text
56 + @pytest.mark.skip(reason="We have no packages needed for cloud testing")
57 @patch("barman.backup_executor.ExternalBackupExecutor.check")
58 def test_check_skipped_if_server_disabled(
59 self, mock_parent_check_fun, core_snapshot_options