@@ -583,7 +583,7 @@ def test_mermaid_base_url_default() -> None:
583
583
584
584
# Verify that the URL was constructed with the default base URL
585
585
assert mock_get .called
586
- args , kwargs = mock_get .call_args
586
+ args = mock_get .call_args [ 0 ]
587
587
url = args [0 ] # First argument to request.get is the URL
588
588
assert url .startswith ("https://mermaid.ink" )
589
589
@@ -604,7 +604,7 @@ def test_mermaid_base_url_custom() -> None:
604
604
605
605
# Verify that the URL was constructed with our custom base URL
606
606
assert mock_get .called
607
- args , kwargs = mock_get .call_args
607
+ args = mock_get .call_args [ 0 ]
608
608
url = args [0 ] # First argument to request.get is the URL
609
609
assert url .startswith (custom_url )
610
610
@@ -626,7 +626,7 @@ def test_draw_mermaid_png_function_base_url() -> None:
626
626
627
627
# Verify that the URL was constructed with our custom base URL
628
628
assert mock_get .called
629
- args , kwargs = mock_get .call_args
629
+ args = mock_get .call_args [ 0 ]
630
630
url = args [0 ] # First argument to request.get is the URL
631
631
assert url .startswith (custom_url )
632
632
@@ -650,7 +650,7 @@ def test_graph_draw_mermaid_png_base_url() -> None:
650
650
651
651
# Verify that the URL was constructed with our custom base URL
652
652
assert mock_get .called
653
- args , kwargs = mock_get .call_args
653
+ args = mock_get .call_args [ 0 ]
654
654
url = args [0 ] # First argument to request.get is the URL
655
655
assert url .startswith (custom_url )
656
656
0 commit comments