@@ -32,10 +32,9 @@ def test_files(self) -> None:
32
32
@patch ("os.chdir" )
33
33
@patch ("manifests_workflow.input_manifests.InputManifests.add_to_versionincrement_workflow" )
34
34
@patch ("manifests_workflow.input_manifests.InputManifests.add_to_cron" )
35
- @patch ("manifests_workflow.input_manifests.InputManifests.add_to_integTest_notification_cron" )
36
35
@patch ("manifests.manifest.Manifest.to_file" )
37
36
@patch ("manifests_workflow.input_manifests_opensearch.ComponentOpenSearchMin" )
38
- def test_update (self , mock_component_opensearch_min : MagicMock , mock_manifest_to_file : MagicMock , mock_add_to_integTest_notification_cron : MagicMock ,
37
+ def test_update (self , mock_component_opensearch_min : MagicMock , mock_manifest_to_file : MagicMock ,
39
38
mock_add_to_cron : MagicMock , mock_add_to_versionincrement_workflow : MagicMock ,
40
39
* mocks : MagicMock ) -> None :
41
40
mock_component_opensearch_min .return_value = MagicMock (name = "OpenSearch" )
@@ -54,9 +53,6 @@ def test_update(self, mock_component_opensearch_min: MagicMock, mock_manifest_to
54
53
)
55
54
]
56
55
mock_manifest_to_file .assert_has_calls (calls )
57
- mock_add_to_integTest_notification_cron .assert_has_calls ([
58
- call ('2.1000.1000' ),
59
- ])
60
56
mock_add_to_cron .assert_has_calls ([
61
57
call ('2.1000.1000' ),
62
58
])
@@ -66,10 +62,9 @@ def test_update(self, mock_component_opensearch_min: MagicMock, mock_manifest_to
66
62
67
63
@patch ("manifests_workflow.input_manifests.InputManifests.add_to_versionincrement_workflow" )
68
64
@patch ("manifests_workflow.input_manifests.InputManifests.add_to_cron" )
69
- @patch ("manifests_workflow.input_manifests.InputManifests.add_to_integTest_notification_cron" )
70
65
@patch ("manifests.manifest.Manifest.to_file" )
71
66
@patch ("manifests_workflow.input_manifests_opensearch.ComponentOpenSearchMin" )
72
- def test_update_outdated_branch (self , mock_component_opensearch_min : MagicMock , mock_manifest_to_file : MagicMock , mock_add_to_integTest_notification_cron : MagicMock ,
67
+ def test_update_outdated_branch (self , mock_component_opensearch_min : MagicMock , mock_manifest_to_file : MagicMock ,
73
68
mock_add_to_cron : MagicMock , mock_add_to_versionincrement_workflow : MagicMock ) -> None :
74
69
mock_component_opensearch_min .return_value = MagicMock (name = "OpenSearch" )
75
70
mock_component_opensearch_min .branches .return_value = ["1.2" ]
@@ -78,5 +73,4 @@ def test_update_outdated_branch(self, mock_component_opensearch_min: MagicMock,
78
73
manifests .update ()
79
74
self .assertEqual (mock_manifest_to_file .call_count , 0 )
80
75
self .assertEqual (mock_add_to_cron .call_count , 0 )
81
- self .assertEqual (mock_add_to_integTest_notification_cron .call_count , 0 )
82
76
self .assertEqual (mock_add_to_versionincrement_workflow .call_count , 0 )
0 commit comments