Ejemplo n.º 1
0
def client_configuration_no_token_test():
    try:
        client = Smallinvoice(None)
        client.get_api_endpoint()
        assert False
    except SmallInvoiceConfigurationException:
        assert True
Ejemplo n.º 2
0
def get_api_endpoint_test():
    client = Smallinvoice("test")
    assert client.get_api_endpoint() == "https://api.smallinvoice.com/"