File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1212from mock_vws ._constants import ResultCodes
1313from tests .mock_vws .utils import (
1414 TargetAPIEndpoint ,
15- VuforiaDatabaseKeys ,
1615 assert_vws_failure ,
1716 authorization_header ,
1817 rfc_1123_date ,
@@ -28,7 +27,6 @@ class TestInvalidJSON:
2827 @pytest .mark .parametrize ('date_skew_minutes' , [0 , 10 ])
2928 def test_invalid_json (
3029 self ,
31- vuforia_database_keys : VuforiaDatabaseKeys ,
3230 endpoint : TargetAPIEndpoint ,
3331 date_skew_minutes : int ,
3432 ) -> None :
@@ -51,8 +49,8 @@ def test_invalid_json(
5149 endpoint_headers = dict (endpoint .prepared_request .headers )
5250
5351 authorization_string = authorization_header (
54- access_key = vuforia_database_keys . server_access_key ,
55- secret_key = vuforia_database_keys . server_secret_key ,
52+ access_key = endpoint . access_key ,
53+ secret_key = endpoint . secret_key ,
5654 method = str (endpoint .prepared_request .method ),
5755 content = content ,
5856 content_type = endpoint .auth_header_content_type ,
You can’t perform that action at this time.
0 commit comments