File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
providers/openfeature-provider-flagd/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,11 +153,11 @@ def test_selector_passed_via_both_metadata_and_body(self):
153153 call_args = self .mock_stub .SyncFlags .call_args
154154
155155 # Verify the request contains selector in body (backward compatibility)
156- request = call_args [ 0 ] [0 ] # First positional argument is the request
156+ request = call_args . args [0 ] # First positional argument is the request
157157 self .assertEqual (request .selector , 'test-selector' )
158158
159159 # Verify metadata also contains flagd-selector header (new approach)
160- kwargs = call_args [ 1 ]
160+ kwargs = call_args . kwargs
161161 self .assertIn ('metadata' , kwargs )
162162 metadata = kwargs ['metadata' ]
163163 self .assertEqual (metadata , [('flagd-selector' , 'test-selector' )])
You can’t perform that action at this time.
0 commit comments