@@ -282,7 +282,7 @@ async def test_create_product_all_fields(product_response):
282282@pytest .mark .asyncio
283283async def test_update_product (product_response ):
284284 with patch (
285- "netlicensing_mcp.tools.products.nl_put " , new = AsyncMock (return_value = product_response )
285+ "netlicensing_mcp.tools.products.nl_post " , new = AsyncMock (return_value = product_response )
286286 ):
287287 from netlicensing_mcp .tools .products import update_product
288288
@@ -293,7 +293,7 @@ async def test_update_product(product_response):
293293@pytest .mark .asyncio
294294async def test_update_product_all_fields (product_response ):
295295 mock_put = AsyncMock (return_value = product_response )
296- with patch ("netlicensing_mcp.tools.products.nl_put " , new = mock_put ):
296+ with patch ("netlicensing_mcp.tools.products.nl_post " , new = mock_put ):
297297 from netlicensing_mcp .tools .products import update_product
298298
299299 result = await update_product (
@@ -381,7 +381,7 @@ async def test_create_bundle(bundle_response):
381381@pytest .mark .asyncio
382382async def test_update_bundle (bundle_response ):
383383 with patch (
384- "netlicensing_mcp.tools.bundles.nl_put " , new = AsyncMock (return_value = bundle_response )
384+ "netlicensing_mcp.tools.bundles.nl_post " , new = AsyncMock (return_value = bundle_response )
385385 ):
386386 from netlicensing_mcp .tools .bundles import update_bundle
387387
@@ -509,7 +509,7 @@ async def test_create_product_module_all_fields(module_response):
509509@pytest .mark .asyncio
510510async def test_update_product_module (module_response ):
511511 with patch (
512- "netlicensing_mcp.tools.product_modules.nl_put " ,
512+ "netlicensing_mcp.tools.product_modules.nl_post " ,
513513 new = AsyncMock (return_value = module_response ),
514514 ):
515515 from netlicensing_mcp .tools .product_modules import update_product_module
@@ -521,7 +521,7 @@ async def test_update_product_module(module_response):
521521@pytest .mark .asyncio
522522async def test_update_product_module_all_fields (module_response ):
523523 mock_put = AsyncMock (return_value = module_response )
524- with patch ("netlicensing_mcp.tools.product_modules.nl_put " , new = mock_put ):
524+ with patch ("netlicensing_mcp.tools.product_modules.nl_post " , new = mock_put ):
525525 from netlicensing_mcp .tools .product_modules import update_product_module
526526
527527 result = await update_product_module (
@@ -662,7 +662,7 @@ async def test_create_license_template_all_fields(template_response):
662662@pytest .mark .asyncio
663663async def test_update_license_template (template_response ):
664664 with patch (
665- "netlicensing_mcp.tools.license_templates.nl_put " ,
665+ "netlicensing_mcp.tools.license_templates.nl_post " ,
666666 new = AsyncMock (return_value = template_response ),
667667 ):
668668 from netlicensing_mcp .tools .license_templates import update_license_template
@@ -674,7 +674,7 @@ async def test_update_license_template(template_response):
674674@pytest .mark .asyncio
675675async def test_update_license_template_all_fields (template_response ):
676676 mock_put = AsyncMock (return_value = template_response )
677- with patch ("netlicensing_mcp.tools.license_templates.nl_put " , new = mock_put ):
677+ with patch ("netlicensing_mcp.tools.license_templates.nl_post " , new = mock_put ):
678678 from netlicensing_mcp .tools .license_templates import update_license_template
679679
680680 result = await update_license_template (
@@ -849,7 +849,7 @@ async def test_create_licensee_all_fields(licensee_response):
849849@pytest .mark .asyncio
850850async def test_update_licensee (licensee_response ):
851851 with patch (
852- "netlicensing_mcp.tools.licensees.nl_put " , new = AsyncMock (return_value = licensee_response )
852+ "netlicensing_mcp.tools.licensees.nl_post " , new = AsyncMock (return_value = licensee_response )
853853 ):
854854 from netlicensing_mcp .tools .licensees import update_licensee
855855
@@ -860,7 +860,7 @@ async def test_update_licensee(licensee_response):
860860@pytest .mark .asyncio
861861async def test_update_licensee_all_fields (licensee_response ):
862862 mock_put = AsyncMock (return_value = licensee_response )
863- with patch ("netlicensing_mcp.tools.licensees.nl_put " , new = mock_put ):
863+ with patch ("netlicensing_mcp.tools.licensees.nl_post " , new = mock_put ):
864864 from netlicensing_mcp .tools .licensees import update_licensee
865865
866866 result = await update_licensee (
@@ -1007,7 +1007,7 @@ async def test_create_license_all_fields(license_response):
10071007async def test_update_license_deactivate (license_response ):
10081008 deactivated = dict (license_response )
10091009 deactivated ["items" ]["item" ][0 ]["property" ][1 ]["value" ] = "false"
1010- with patch ("netlicensing_mcp.tools.licenses.nl_put " , new = AsyncMock (return_value = deactivated )):
1010+ with patch ("netlicensing_mcp.tools.licenses.nl_post " , new = AsyncMock (return_value = deactivated )):
10111011 from netlicensing_mcp .tools .licenses import update_license
10121012
10131013 result = await update_license ("L001" , active = False )
@@ -1018,7 +1018,7 @@ async def test_update_license_deactivate(license_response):
10181018@pytest .mark .asyncio
10191019async def test_update_license_all_fields (license_response ):
10201020 mock_put = AsyncMock (return_value = license_response )
1021- with patch ("netlicensing_mcp.tools.licenses.nl_put " , new = mock_put ):
1021+ with patch ("netlicensing_mcp.tools.licenses.nl_post " , new = mock_put ):
10221022 from netlicensing_mcp .tools .licenses import update_license
10231023
10241024 result = await update_license (
0 commit comments