From 052ab6876fb5dbcf586577d22de6a93c208c2fab Mon Sep 17 00:00:00 2001 From: merit-finns Date: Thu, 7 Nov 2024 15:29:31 -0500 Subject: [PATCH] upgrade hardcoded wsdl to most recent version https://1084658.suitetalk.api.netsuite.com/wsdl/v2024_2_0/netsuite.wsdl --- netsuite/soap_api/client.py | 2 +- tests/test_soap_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netsuite/soap_api/client.py b/netsuite/soap_api/client.py index 0525b41..ddb173b 100644 --- a/netsuite/soap_api/client.py +++ b/netsuite/soap_api/client.py @@ -16,7 +16,7 @@ class NetSuiteSoapApi: - version = "2021.1.0" + version = "2024.2.0" wsdl_url_tmpl = "https://{account_slug}.suitetalk.api.netsuite.com/wsdl/v{underscored_version}/netsuite.wsdl" def __init__( diff --git a/tests/test_soap_api.py b/tests/test_soap_api.py index 2954422..ec4283c 100644 --- a/tests/test_soap_api.py +++ b/tests/test_soap_api.py @@ -15,7 +15,7 @@ def test_netsuite_wsdl_url(dummy_config): soap_api = NetSuiteSoapApi(dummy_config) assert ( soap_api.wsdl_url - == "https://123456-sb1.suitetalk.api.netsuite.com/wsdl/v2021_1_0/netsuite.wsdl" + == "https://123456-sb1.suitetalk.api.netsuite.com/wsdl/v2024_2_0/netsuite.wsdl" )