diff --git a/tests/integration/test_sap_rfc.py b/tests/integration/test_sap_rfc.py index 0ca9a2a1c..28ab044a2 100644 --- a/tests/integration/test_sap_rfc.py +++ b/tests/integration/test_sap_rfc.py @@ -192,7 +192,7 @@ def test___build_pandas_filter_query_v2(): def test_default_credentials_warning_SAPRFC(caplog): _ = SAPRFC() assert ( - "Your credentials will use DEV environment. If you would like to use different one - please specified it in 'sap_credentials' variable inside the flow." + "Your credentials will use DEV environment. If you would like to use different one - please specified it." in caplog.text ) @@ -200,6 +200,6 @@ def test_default_credentials_warning_SAPRFC(caplog): def test_default_credentials_warning_SAPRFCV2(caplog): _ = SAPRFCV2() assert ( - "Your credentials will use DEV environment. If you would like to use different one - please specified it in 'sap_credentials' variable inside the flow." + "Your credentials will use DEV environment. If you would like to use different one - please specified it." in caplog.text ) diff --git a/viadot/sources/sap_rfc.py b/viadot/sources/sap_rfc.py index 16cd5483d..a9d109148 100644 --- a/viadot/sources/sap_rfc.py +++ b/viadot/sources/sap_rfc.py @@ -264,7 +264,7 @@ def __init__( if credentials is None: raise CredentialError("Missing credentials.") logger.warning( - "Your credentials will use DEV environment. If you would like to use different one - please specified it in 'sap_credentials' variable inside the flow." + "Your credentials will use DEV environment. If you would like to use different one - please specified it." ) super().__init__(*args, credentials=credentials, **kwargs)