@@ -1630,7 +1630,7 @@ def test_test_post_create_to_members_prop_pass(self, mock_post):
1630
1630
self .assertIsNotNone (result )
1631
1631
self .assertEqual (Result .PASS , result ['result' ])
1632
1632
self .mock_session .delete .assert_called_with (
1633
- self .sut .rhost + session_uri )
1633
+ self .sut .rhost + session_uri , headers = None )
1634
1634
1635
1635
def test_test_post_create_not_supported_not_tested (self ):
1636
1636
uri = self .sut .accounts_uri
@@ -1712,7 +1712,7 @@ def test_test_post_create_not_idempotent_warn(self, mock_post):
1712
1712
self .assertIn ('Second POST request to %s failed with status code %s' %
1713
1713
(uri , requests .codes .BAD_REQUEST ), result ['msg' ])
1714
1714
self .mock_session .delete .assert_called_with (
1715
- self .sut .rhost + session_uri )
1715
+ self .sut .rhost + session_uri , headers = None )
1716
1716
self .assertEqual (self .mock_session .delete .call_count , 1 )
1717
1717
1718
1718
@mock .patch ('redfish_protocol_validator.service_requests.requests.post' )
@@ -1735,7 +1735,7 @@ def test_test_post_create_not_idempotent_not_tested2(self, mock_post):
1735
1735
self .assertIn ('POST request to %s did not return a Location header' %
1736
1736
uri , result ['msg' ])
1737
1737
self .mock_session .delete .assert_called_with (
1738
- self .sut .rhost + session_uri )
1738
+ self .sut .rhost + session_uri , headers = None )
1739
1739
self .assertEqual (self .mock_session .delete .call_count , 1 )
1740
1740
1741
1741
@mock .patch ('redfish_protocol_validator.service_requests.requests.post' )
@@ -1758,7 +1758,7 @@ def test_test_post_create_not_idempotent_fail(self, mock_post):
1758
1758
self .assertIn ('the same resource URI in the Location header (%s)' %
1759
1759
session_uri , result ['msg' ])
1760
1760
self .mock_session .delete .assert_called_with (
1761
- self .sut .rhost + session_uri )
1761
+ self .sut .rhost + session_uri , headers = None )
1762
1762
self .assertEqual (self .mock_session .delete .call_count , 1 )
1763
1763
1764
1764
@mock .patch ('redfish_protocol_validator.service_requests.requests.post' )
@@ -1780,7 +1780,7 @@ def test_test_post_create_not_idempotent_pass(self, mock_post):
1780
1780
self .assertIsNotNone (result )
1781
1781
self .assertEqual (Result .PASS , result ['result' ])
1782
1782
self .mock_session .delete .assert_called_with (
1783
- self .sut .rhost + session_uri1 )
1783
+ self .sut .rhost + session_uri1 , headers = None )
1784
1784
self .assertEqual (self .mock_session .delete .call_count , 2 )
1785
1785
1786
1786
def test_test_delete_method_required_not_tested (self ):
0 commit comments