From a9918975f4e101dcaa5091690cf5c1cdf2227eb0 Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Mon, 2 Oct 2023 21:47:52 +0000 Subject: [PATCH] test: rename `API_BASE_URL` to `TEST_API_BASE_URL` --- bin/check-test-server | 4 ++-- tests/api_resources/entities/test_beneficial_owners.py | 2 +- tests/api_resources/entities/test_supplemental_documents.py | 2 +- tests/api_resources/simulations/test_account_statements.py | 2 +- tests/api_resources/simulations/test_account_transfers.py | 2 +- tests/api_resources/simulations/test_ach_transfers.py | 2 +- tests/api_resources/simulations/test_card_disputes.py | 2 +- tests/api_resources/simulations/test_card_profiles.py | 2 +- tests/api_resources/simulations/test_card_refunds.py | 2 +- tests/api_resources/simulations/test_cards.py | 2 +- tests/api_resources/simulations/test_check_deposits.py | 2 +- tests/api_resources/simulations/test_check_transfers.py | 2 +- .../simulations/test_digital_wallet_token_requests.py | 2 +- tests/api_resources/simulations/test_documents.py | 2 +- tests/api_resources/simulations/test_inbound_funds_holds.py | 2 +- .../simulations/test_inbound_wire_drawdown_requests.py | 2 +- tests/api_resources/simulations/test_interest_payments.py | 2 +- tests/api_resources/simulations/test_physical_cards.py | 2 +- tests/api_resources/simulations/test_programs.py | 2 +- .../simulations/test_real_time_payments_transfers.py | 2 +- tests/api_resources/simulations/test_wire_transfers.py | 2 +- tests/api_resources/test_account_numbers.py | 2 +- tests/api_resources/test_account_statements.py | 2 +- tests/api_resources/test_account_transfers.py | 2 +- tests/api_resources/test_accounts.py | 2 +- tests/api_resources/test_ach_prenotifications.py | 2 +- tests/api_resources/test_ach_transfers.py | 2 +- tests/api_resources/test_balance_lookups.py | 2 +- tests/api_resources/test_bookkeeping_accounts.py | 2 +- tests/api_resources/test_bookkeeping_entries.py | 2 +- tests/api_resources/test_bookkeeping_entry_sets.py | 2 +- tests/api_resources/test_card_disputes.py | 2 +- tests/api_resources/test_card_payments.py | 2 +- tests/api_resources/test_card_profiles.py | 2 +- tests/api_resources/test_card_purchase_supplements.py | 2 +- tests/api_resources/test_cards.py | 2 +- tests/api_resources/test_check_deposits.py | 2 +- tests/api_resources/test_check_transfers.py | 2 +- tests/api_resources/test_declined_transactions.py | 2 +- tests/api_resources/test_digital_wallet_tokens.py | 2 +- tests/api_resources/test_documents.py | 2 +- tests/api_resources/test_entities.py | 2 +- tests/api_resources/test_event_subscriptions.py | 2 +- tests/api_resources/test_events.py | 2 +- tests/api_resources/test_exports.py | 2 +- tests/api_resources/test_external_accounts.py | 2 +- tests/api_resources/test_files.py | 2 +- tests/api_resources/test_groups.py | 2 +- tests/api_resources/test_inbound_ach_transfers.py | 2 +- tests/api_resources/test_inbound_wire_drawdown_requests.py | 2 +- tests/api_resources/test_oauth_connections.py | 2 +- tests/api_resources/test_pending_transactions.py | 2 +- tests/api_resources/test_physical_cards.py | 2 +- tests/api_resources/test_programs.py | 2 +- tests/api_resources/test_real_time_decisions.py | 2 +- tests/api_resources/test_real_time_payments_transfers.py | 2 +- tests/api_resources/test_routing_numbers.py | 2 +- tests/api_resources/test_transactions.py | 2 +- tests/api_resources/test_wire_drawdown_requests.py | 2 +- tests/api_resources/test_wire_transfers.py | 2 +- tests/test_client.py | 2 +- 61 files changed, 62 insertions(+), 62 deletions(-) diff --git a/bin/check-test-server b/bin/check-test-server index 34efa9dac..a6fa34950 100755 --- a/bin/check-test-server +++ b/bin/check-test-server @@ -10,13 +10,13 @@ function prism_is_running() { } function is_overriding_api_base_url() { - [ -n "$API_BASE_URL" ] + [ -n "$TEST_API_BASE_URL" ] } if is_overriding_api_base_url ; then # If someone is running the tests against the live API, we can trust they know # what they're doing and exit early. - echo -e "${GREEN}✔ Running tests against ${API_BASE_URL}${NC}" + echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}" exit 0 elif prism_is_running ; then diff --git a/tests/api_resources/entities/test_beneficial_owners.py b/tests/api_resources/entities/test_beneficial_owners.py index f3fa4cb3e..50e9003da 100644 --- a/tests/api_resources/entities/test_beneficial_owners.py +++ b/tests/api_resources/entities/test_beneficial_owners.py @@ -11,7 +11,7 @@ from increase.types import Entity from increase._utils import parse_date -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/entities/test_supplemental_documents.py b/tests/api_resources/entities/test_supplemental_documents.py index 08b95da2c..875a8e6de 100644 --- a/tests/api_resources/entities/test_supplemental_documents.py +++ b/tests/api_resources/entities/test_supplemental_documents.py @@ -12,7 +12,7 @@ from increase.pagination import SyncPage, AsyncPage from increase.types.entities import SupplementalDocument -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_account_statements.py b/tests/api_resources/simulations/test_account_statements.py index 54e629878..e1be19ea5 100644 --- a/tests/api_resources/simulations/test_account_statements.py +++ b/tests/api_resources/simulations/test_account_statements.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import AccountStatement -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_account_transfers.py b/tests/api_resources/simulations/test_account_transfers.py index c1f304ed4..020f376a7 100644 --- a/tests/api_resources/simulations/test_account_transfers.py +++ b/tests/api_resources/simulations/test_account_transfers.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import AccountTransfer -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_ach_transfers.py b/tests/api_resources/simulations/test_ach_transfers.py index c8e64c13f..f8aa6edb3 100644 --- a/tests/api_resources/simulations/test_ach_transfers.py +++ b/tests/api_resources/simulations/test_ach_transfers.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.types.simulations import ACHTransferSimulation -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_card_disputes.py b/tests/api_resources/simulations/test_card_disputes.py index 764ccaafb..763f45b9e 100644 --- a/tests/api_resources/simulations/test_card_disputes.py +++ b/tests/api_resources/simulations/test_card_disputes.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import CardDispute -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_card_profiles.py b/tests/api_resources/simulations/test_card_profiles.py index d76a4ef77..c76158d4b 100644 --- a/tests/api_resources/simulations/test_card_profiles.py +++ b/tests/api_resources/simulations/test_card_profiles.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import CardProfile -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_card_refunds.py b/tests/api_resources/simulations/test_card_refunds.py index 49d0112f6..3ff957f34 100644 --- a/tests/api_resources/simulations/test_card_refunds.py +++ b/tests/api_resources/simulations/test_card_refunds.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import Transaction -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_cards.py b/tests/api_resources/simulations/test_cards.py index b7d52f30f..bc3483f79 100644 --- a/tests/api_resources/simulations/test_cards.py +++ b/tests/api_resources/simulations/test_cards.py @@ -11,7 +11,7 @@ from increase.types import Transaction from increase.types.simulations import CardAuthorizationSimulation -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_check_deposits.py b/tests/api_resources/simulations/test_check_deposits.py index 7c284fa2e..208e60471 100644 --- a/tests/api_resources/simulations/test_check_deposits.py +++ b/tests/api_resources/simulations/test_check_deposits.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import CheckDeposit -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_check_transfers.py b/tests/api_resources/simulations/test_check_transfers.py index b27aba2ad..dfc16038d 100644 --- a/tests/api_resources/simulations/test_check_transfers.py +++ b/tests/api_resources/simulations/test_check_transfers.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import CheckTransfer -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_digital_wallet_token_requests.py b/tests/api_resources/simulations/test_digital_wallet_token_requests.py index 54330235e..6a15fc547 100644 --- a/tests/api_resources/simulations/test_digital_wallet_token_requests.py +++ b/tests/api_resources/simulations/test_digital_wallet_token_requests.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types.simulations import DigitalWalletTokenRequestCreateResponse -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_documents.py b/tests/api_resources/simulations/test_documents.py index a0ef675cb..594a2f7ac 100644 --- a/tests/api_resources/simulations/test_documents.py +++ b/tests/api_resources/simulations/test_documents.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import Document -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_inbound_funds_holds.py b/tests/api_resources/simulations/test_inbound_funds_holds.py index 03c262c8d..23fcd8569 100644 --- a/tests/api_resources/simulations/test_inbound_funds_holds.py +++ b/tests/api_resources/simulations/test_inbound_funds_holds.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types.simulations import InboundFundsHoldReleaseResponse -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_inbound_wire_drawdown_requests.py b/tests/api_resources/simulations/test_inbound_wire_drawdown_requests.py index a39087bfe..df4025d72 100644 --- a/tests/api_resources/simulations/test_inbound_wire_drawdown_requests.py +++ b/tests/api_resources/simulations/test_inbound_wire_drawdown_requests.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import InboundWireDrawdownRequest -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_interest_payments.py b/tests/api_resources/simulations/test_interest_payments.py index 8f912878d..e06160c37 100644 --- a/tests/api_resources/simulations/test_interest_payments.py +++ b/tests/api_resources/simulations/test_interest_payments.py @@ -11,7 +11,7 @@ from increase._utils import parse_datetime from increase.types.simulations import InterestPaymentSimulationResult -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_physical_cards.py b/tests/api_resources/simulations/test_physical_cards.py index 2c1de7c58..f8b364894 100644 --- a/tests/api_resources/simulations/test_physical_cards.py +++ b/tests/api_resources/simulations/test_physical_cards.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import PhysicalCard -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_programs.py b/tests/api_resources/simulations/test_programs.py index 38fea4d1c..7e88ecb4b 100644 --- a/tests/api_resources/simulations/test_programs.py +++ b/tests/api_resources/simulations/test_programs.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import Program -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_real_time_payments_transfers.py b/tests/api_resources/simulations/test_real_time_payments_transfers.py index 084c39548..9c48b09ea 100644 --- a/tests/api_resources/simulations/test_real_time_payments_transfers.py +++ b/tests/api_resources/simulations/test_real_time_payments_transfers.py @@ -11,7 +11,7 @@ from increase.types import RealTimePaymentsTransfer from increase.types.simulations import InboundRealTimePaymentsTransferSimulationResult -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/simulations/test_wire_transfers.py b/tests/api_resources/simulations/test_wire_transfers.py index a313659dd..b14c88374 100644 --- a/tests/api_resources/simulations/test_wire_transfers.py +++ b/tests/api_resources/simulations/test_wire_transfers.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types.simulations import WireTransferSimulation -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_account_numbers.py b/tests/api_resources/test_account_numbers.py index dddf8762c..cc927e6b9 100644 --- a/tests/api_resources/test_account_numbers.py +++ b/tests/api_resources/test_account_numbers.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_account_statements.py b/tests/api_resources/test_account_statements.py index 0eddf778c..2b0d1a257 100644 --- a/tests/api_resources/test_account_statements.py +++ b/tests/api_resources/test_account_statements.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_account_transfers.py b/tests/api_resources/test_account_transfers.py index 11f337634..35d0cec39 100644 --- a/tests/api_resources/test_account_transfers.py +++ b/tests/api_resources/test_account_transfers.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_accounts.py b/tests/api_resources/test_accounts.py index 57003932c..9fc0dbfc8 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_ach_prenotifications.py b/tests/api_resources/test_ach_prenotifications.py index 092ca3ac6..c0b9b1a1b 100644 --- a/tests/api_resources/test_ach_prenotifications.py +++ b/tests/api_resources/test_ach_prenotifications.py @@ -12,7 +12,7 @@ from increase._utils import parse_date, parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_ach_transfers.py b/tests/api_resources/test_ach_transfers.py index c53fdde3a..7bdf87d3b 100644 --- a/tests/api_resources/test_ach_transfers.py +++ b/tests/api_resources/test_ach_transfers.py @@ -12,7 +12,7 @@ from increase._utils import parse_date, parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_balance_lookups.py b/tests/api_resources/test_balance_lookups.py index c0689e699..def2294e6 100644 --- a/tests/api_resources/test_balance_lookups.py +++ b/tests/api_resources/test_balance_lookups.py @@ -11,7 +11,7 @@ from increase.types import BalanceLookupLookupResponse from increase._utils import parse_datetime -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_bookkeeping_accounts.py b/tests/api_resources/test_bookkeeping_accounts.py index 5b4239785..30100e310 100644 --- a/tests/api_resources/test_bookkeeping_accounts.py +++ b/tests/api_resources/test_bookkeeping_accounts.py @@ -11,7 +11,7 @@ from increase.types import BookkeepingAccount from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_bookkeeping_entries.py b/tests/api_resources/test_bookkeeping_entries.py index 6fa475d7e..27012d0af 100644 --- a/tests/api_resources/test_bookkeeping_entries.py +++ b/tests/api_resources/test_bookkeeping_entries.py @@ -11,7 +11,7 @@ from increase.types import BookkeepingEntry from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_bookkeeping_entry_sets.py b/tests/api_resources/test_bookkeeping_entry_sets.py index 4b64e8ce1..e1db7656c 100644 --- a/tests/api_resources/test_bookkeeping_entry_sets.py +++ b/tests/api_resources/test_bookkeeping_entry_sets.py @@ -11,7 +11,7 @@ from increase.types import BookkeepingEntrySet from increase._utils import parse_datetime -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_card_disputes.py b/tests/api_resources/test_card_disputes.py index 3bc57a819..914b025e0 100644 --- a/tests/api_resources/test_card_disputes.py +++ b/tests/api_resources/test_card_disputes.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_card_payments.py b/tests/api_resources/test_card_payments.py index 8b5c72156..ea3020bda 100644 --- a/tests/api_resources/test_card_payments.py +++ b/tests/api_resources/test_card_payments.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_card_profiles.py b/tests/api_resources/test_card_profiles.py index fa34152a4..8187bcd13 100644 --- a/tests/api_resources/test_card_profiles.py +++ b/tests/api_resources/test_card_profiles.py @@ -11,7 +11,7 @@ from increase.types import CardProfile from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_card_purchase_supplements.py b/tests/api_resources/test_card_purchase_supplements.py index b096de5b6..3df0e32f4 100644 --- a/tests/api_resources/test_card_purchase_supplements.py +++ b/tests/api_resources/test_card_purchase_supplements.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_cards.py b/tests/api_resources/test_cards.py index 5f64e8cd2..2f43f402d 100644 --- a/tests/api_resources/test_cards.py +++ b/tests/api_resources/test_cards.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_check_deposits.py b/tests/api_resources/test_check_deposits.py index 61a3bd55d..e4490fc98 100644 --- a/tests/api_resources/test_check_deposits.py +++ b/tests/api_resources/test_check_deposits.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_check_transfers.py b/tests/api_resources/test_check_transfers.py index f92959197..339a7ad98 100644 --- a/tests/api_resources/test_check_transfers.py +++ b/tests/api_resources/test_check_transfers.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_declined_transactions.py b/tests/api_resources/test_declined_transactions.py index 8a123fc46..fa440a831 100644 --- a/tests/api_resources/test_declined_transactions.py +++ b/tests/api_resources/test_declined_transactions.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_digital_wallet_tokens.py b/tests/api_resources/test_digital_wallet_tokens.py index 2389fd4a3..32a6b9c59 100644 --- a/tests/api_resources/test_digital_wallet_tokens.py +++ b/tests/api_resources/test_digital_wallet_tokens.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_documents.py b/tests/api_resources/test_documents.py index 4efbc90da..42645c4b7 100644 --- a/tests/api_resources/test_documents.py +++ b/tests/api_resources/test_documents.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_entities.py b/tests/api_resources/test_entities.py index d79a07d78..8729b0a1f 100644 --- a/tests/api_resources/test_entities.py +++ b/tests/api_resources/test_entities.py @@ -12,7 +12,7 @@ from increase._utils import parse_date, parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_event_subscriptions.py b/tests/api_resources/test_event_subscriptions.py index c81cb15e4..7d36edb68 100644 --- a/tests/api_resources/test_event_subscriptions.py +++ b/tests/api_resources/test_event_subscriptions.py @@ -11,7 +11,7 @@ from increase.types import EventSubscription from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_events.py b/tests/api_resources/test_events.py index fb0020ab8..1d569e2d1 100644 --- a/tests/api_resources/test_events.py +++ b/tests/api_resources/test_events.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_exports.py b/tests/api_resources/test_exports.py index 08cc4aed1..fe595c2a2 100644 --- a/tests/api_resources/test_exports.py +++ b/tests/api_resources/test_exports.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_external_accounts.py b/tests/api_resources/test_external_accounts.py index dbb8fc646..76a53eedc 100644 --- a/tests/api_resources/test_external_accounts.py +++ b/tests/api_resources/test_external_accounts.py @@ -11,7 +11,7 @@ from increase.types import ExternalAccount from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_files.py b/tests/api_resources/test_files.py index 4de508e6d..7e13d0b76 100644 --- a/tests/api_resources/test_files.py +++ b/tests/api_resources/test_files.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_groups.py b/tests/api_resources/test_groups.py index 3294f49ad..0897a9168 100644 --- a/tests/api_resources/test_groups.py +++ b/tests/api_resources/test_groups.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import Group -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_inbound_ach_transfers.py b/tests/api_resources/test_inbound_ach_transfers.py index 26f0db524..312e2662b 100644 --- a/tests/api_resources/test_inbound_ach_transfers.py +++ b/tests/api_resources/test_inbound_ach_transfers.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_inbound_wire_drawdown_requests.py b/tests/api_resources/test_inbound_wire_drawdown_requests.py index 4dec16e32..3610ff93a 100644 --- a/tests/api_resources/test_inbound_wire_drawdown_requests.py +++ b/tests/api_resources/test_inbound_wire_drawdown_requests.py @@ -11,7 +11,7 @@ from increase.types import InboundWireDrawdownRequest from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_oauth_connections.py b/tests/api_resources/test_oauth_connections.py index 2d20fe35a..561773b3c 100644 --- a/tests/api_resources/test_oauth_connections.py +++ b/tests/api_resources/test_oauth_connections.py @@ -11,7 +11,7 @@ from increase.types import OauthConnection from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_pending_transactions.py b/tests/api_resources/test_pending_transactions.py index aa8ca5e7b..27fb486e6 100644 --- a/tests/api_resources/test_pending_transactions.py +++ b/tests/api_resources/test_pending_transactions.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_physical_cards.py b/tests/api_resources/test_physical_cards.py index bf10c76cd..dd57b99fd 100644 --- a/tests/api_resources/test_physical_cards.py +++ b/tests/api_resources/test_physical_cards.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_programs.py b/tests/api_resources/test_programs.py index 0ea50944a..565647541 100644 --- a/tests/api_resources/test_programs.py +++ b/tests/api_resources/test_programs.py @@ -11,7 +11,7 @@ from increase.types import Program from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_real_time_decisions.py b/tests/api_resources/test_real_time_decisions.py index 989ed3839..aa4c495f9 100644 --- a/tests/api_resources/test_real_time_decisions.py +++ b/tests/api_resources/test_real_time_decisions.py @@ -10,7 +10,7 @@ from tests.utils import assert_matches_type from increase.types import RealTimeDecision -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_real_time_payments_transfers.py b/tests/api_resources/test_real_time_payments_transfers.py index 8e53d2413..691b80ab8 100644 --- a/tests/api_resources/test_real_time_payments_transfers.py +++ b/tests/api_resources/test_real_time_payments_transfers.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_routing_numbers.py b/tests/api_resources/test_routing_numbers.py index 49cc91642..f063f6c07 100644 --- a/tests/api_resources/test_routing_numbers.py +++ b/tests/api_resources/test_routing_numbers.py @@ -11,7 +11,7 @@ from increase.types import RoutingNumber from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_transactions.py b/tests/api_resources/test_transactions.py index 6f2344c4f..1e8278792 100644 --- a/tests/api_resources/test_transactions.py +++ b/tests/api_resources/test_transactions.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_wire_drawdown_requests.py b/tests/api_resources/test_wire_drawdown_requests.py index 1f5d21137..30cb61cbc 100644 --- a/tests/api_resources/test_wire_drawdown_requests.py +++ b/tests/api_resources/test_wire_drawdown_requests.py @@ -11,7 +11,7 @@ from increase.types import WireDrawdownRequest from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/api_resources/test_wire_transfers.py b/tests/api_resources/test_wire_transfers.py index c9e49c8fd..c8d568f9e 100644 --- a/tests/api_resources/test_wire_transfers.py +++ b/tests/api_resources/test_wire_transfers.py @@ -12,7 +12,7 @@ from increase._utils import parse_datetime from increase.pagination import SyncPage, AsyncPage -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234") diff --git a/tests/test_client.py b/tests/test_client.py index df33be712..d4ae2e29b 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -19,7 +19,7 @@ from increase._exceptions import APIResponseValidationError from increase._base_client import BaseClient, make_request_options -base_url = os.environ.get("API_BASE_URL", "http://127.0.0.1:4010") +base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") api_key = os.environ.get("API_KEY", "something1234")