File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ def test_clone_with_oauth():
240240 """Test cloning a client with OAuth authentication."""
241241 args = ["http://endpoint" , "project" ]
242242 kwargs = {
243- "oauth_oauth_uri " : "https://example.com/oauth/token" ,
243+ "oauth_uri " : "https://example.com/oauth/token" ,
244244 "oauth_username" : "test_user" ,
245245 "oauth_password" : "test_password" ,
246246 "oauth_client_id" : "test_client_id" ,
@@ -262,7 +262,7 @@ def test_clone_with_oauth():
262262 assert cloned is not None and client is not cloned
263263 assert cloned .endpoint == args [0 ] and cloned .project == args [1 ]
264264 assert (
265- cloned .oauth_uri == kwargs ["oauth_oauth_uri " ]
265+ cloned .oauth_uri == kwargs ["oauth_uri " ]
266266 and cloned .oauth_username == kwargs ["oauth_username" ]
267267 and cloned .oauth_password == kwargs ["oauth_password" ]
268268 and cloned .oauth_client_id == kwargs ["oauth_client_id" ]
Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ def test_clone_with_oauth():
392392 """Test cloning a client with OAuth authentication."""
393393 args = ["http://endpoint" , "project" ]
394394 kwargs = {
395- "oauth_oauth_uri " : "https://example.com/oauth/token" ,
395+ "oauth_uri " : "https://example.com/oauth/token" ,
396396 "oauth_username" : "test_user" ,
397397 "oauth_password" : "test_password" ,
398398 "oauth_client_id" : "test_client_id" ,
@@ -416,7 +416,7 @@ def test_clone_with_oauth():
416416 assert cloned is not None and client is not cloned
417417 assert cloned .endpoint == args [0 ] and cloned .project == args [1 ]
418418 assert (
419- cloned .oauth_uri == kwargs ["oauth_oauth_uri " ]
419+ cloned .oauth_uri == kwargs ["oauth_uri " ]
420420 and cloned .oauth_username == kwargs ["oauth_username" ]
421421 and cloned .oauth_password == kwargs ["oauth_password" ]
422422 and cloned .oauth_client_id == kwargs ["oauth_client_id" ]
You can’t perform that action at this time.
0 commit comments