How to use the avalara.client.AvataxClient function in Avalara

To help you get started, we’ve selected a few Avalara examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github avadev / AvaTax-REST-V2-Python-SDK / tests / test_client.py View on Github external
def test_client_can_be_created(unauth_client):
    """Test that the client object can be created."""
    assert isinstance(unauth_client, AvataxClient)
github avadev / AvaTax-REST-V2-Python-SDK / tests / test_client.py View on Github external
def test_client_can_obtain_their_own_base_url():
    """Test the client can input a url as the base url."""
    client = AvataxClient('test app', 'ver 0.0', 'test machine', 'https://myurl.com')
    assert client.base_url == 'https://myurl.com'
github avadev / AvaTax-REST-V2-Python-SDK / tests / test_client.py View on Github external
def test_client_can_obtain_production_url_as_base_url():
    """Test the default option for base url is production url."""
    client = AvataxClient('test app', 'ver 0.0', 'test machine')
    assert client.base_url == 'https://rest.avatax.com'
github avadev / AvaTax-REST-V2-Python-SDK / tests / test_auth.py View on Github external
def test_auth_able_to_call_and_return_self(unauth_client):
    """Test client can call add_cred method and returns an avatax client obj."""
    assert isinstance(unauth_client.add_credentials(), AvataxClient)

Avalara

Avalara Tax Python SDK.

Apache-2.0
Latest version published 9 days ago

Package Health Score

67 / 100
Full package analysis