diff --git a/CHANGELOG.md b/CHANGELOG.md index 555d9bd..ed3e93b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,46 +1,59 @@ # Changelog +## 1.4.0 + +- Added discounts field in subscriptions schema #[107](https://github.com/singer-io/tap-chargebee/pull/107) +- Fixed All fields & Pagination integration tests #[109](https://github.com/singer-io/tap-chargebee/pull/109) + ## 1.3.5 - * Add missing Business Entity Details from Chargebee customers details #[100](https://github.com/singer-io/tap-chargebee/pull/100) - * Prevent truncating invoice lineItem taxRates #[102](https://github.com/singer-io/tap-chargebee/pull/102) + +- Add missing Business Entity Details from Chargebee customers details #[100](https://github.com/singer-io/tap-chargebee/pull/100) +- Prevent truncating invoice lineItem taxRates #[102](https://github.com/singer-io/tap-chargebee/pull/102) ## 1.3.4 - * Custom field support for Item Model entities #[92](https://github.com/singer-io/tap-chargebee/pull/92) - * Updated integration test #[93](https://github.com/singer-io/tap-chargebee/pull/93) + +- Custom field support for Item Model entities #[92](https://github.com/singer-io/tap-chargebee/pull/92) +- Updated integration test #[93](https://github.com/singer-io/tap-chargebee/pull/93) ## 1.3.3 - * Implement request timeout #[78](https://github.com/singer-io/tap-chargebee/pull/78) - * Add missing tap-tester tests #[83](https://github.com/singer-io/tap-chargebee/pull/83) - * Add custom exception handling #[85](https://github.com/singer-io/tap-chargebee/pull/85) - * Add missing fields to schema #[87](https://github.com/singer-io/tap-chargebee/pull/87) - * Revert back bookmark logic #[88](https://github.com/singer-io/tap-chargebee/pull/88) + +- Implement request timeout #[78](https://github.com/singer-io/tap-chargebee/pull/78) +- Add missing tap-tester tests #[83](https://github.com/singer-io/tap-chargebee/pull/83) +- Add custom exception handling #[85](https://github.com/singer-io/tap-chargebee/pull/85) +- Add missing fields to schema #[87](https://github.com/singer-io/tap-chargebee/pull/87) +- Revert back bookmark logic #[88](https://github.com/singer-io/tap-chargebee/pull/88) ##1.3.2 - * Revert back bookmarking logic [#86](https://github.com/singer-io/tap-chargebee/pull/86) + +- Revert back bookmarking logic [#86](https://github.com/singer-io/tap-chargebee/pull/86) ## 1.3.1 - * Added support for Chargebee Quotes [#75](https://github.com/singer-io/tap-chargebee/pull/75) + +- Added support for Chargebee Quotes [#75](https://github.com/singer-io/tap-chargebee/pull/75) ## 1.3.0 - * Added comments stream [#52](https://github.com/singer-io/tap-chargebee/pull/52) - * Added include_deleted configuration [#58](https://github.com/singer-io/tap-chargebee/pull/58) - * Added undocumented fields [#69](https://github.com/singer-io/tap-chargebee/pull/69) + +- Added comments stream [#52](https://github.com/singer-io/tap-chargebee/pull/52) +- Added include_deleted configuration [#58](https://github.com/singer-io/tap-chargebee/pull/58) +- Added undocumented fields [#69](https://github.com/singer-io/tap-chargebee/pull/69) ## 1.2.2 - * Update the schema glob so that we include all schemas in the package distribution [#73](https://github.com/singer-io/tap-chargebee/pull/73) + +- Update the schema glob so that we include all schemas in the package distribution [#73](https://github.com/singer-io/tap-chargebee/pull/73) ## 1.2.1 - * Add a `MANIFEST.in` file to include schema files in the `tap-chargebee` package [#72](https://github.com/singer-io/tap-chargebee/pull/72) + +- Add a `MANIFEST.in` file to include schema files in the `tap-chargebee` package [#72](https://github.com/singer-io/tap-chargebee/pull/72) ## 1.2.0 - * Remove all minimum/maximum and minLength/maxLength [#45][#45] - * Fix JSONDecodeError in Invoices and Transactions streams [#51][#51] - * Add Tiersprice attribute [#53][#53] - * Updated integration test to cover product catalog v1 and v2 [#63][#63] - * Add additional fields from API [#64][#64] - * Upgraded event stream schema [#57][#57] - * Updated Bookmark handling, date without tz will updated in UTC tz format [#54][#54] +- Remove all minimum/maximum and minLength/maxLength [#45][#45] +- Fix JSONDecodeError in Invoices and Transactions streams [#51][#51] +- Add Tiersprice attribute [#53][#53] +- Updated integration test to cover product catalog v1 and v2 [#63][#63] +- Add additional fields from API [#64][#64] +- Upgraded event stream schema [#57][#57] +- Updated Bookmark handling, date without tz will updated in UTC tz format [#54][#54] [#45]: https://github.com/singer-io/tap-chargebee/pull/45 [#51]: https://github.com/singer-io/tap-chargebee/pull/51 @@ -51,30 +64,38 @@ [#54]: https://github.com/singer-io/tap-chargebee/pull/54 ## 1.1.2 - * Fix domain name comparison bug [#67](https://github.com/singer-io/tap-chargebee/pull/67) + +- Fix domain name comparison bug [#67](https://github.com/singer-io/tap-chargebee/pull/67) ## 1.1.1 - * Add an error message when we get an unexpected response from the Configurations API [#62](https://github.com/singer-io/tap-chargebee/pull/62) + +- Add an error message when we get an unexpected response from the Configurations API [#62](https://github.com/singer-io/tap-chargebee/pull/62) ## 1.1.0 - * Adds support for Item Model, Multi-decimal (for Plan Model), and Account hierarchy (for Plan Model) [#56](https://github.com/singer-io/tap-chargebee/pull/56) - * Organized the folder structure: - a. common(common schemas to both plan model and item model) - b. item_model - c. plan_model - * Introduces two new streams: ITEM_MODEL_AVAILABLE_STREAMS, PLAN_MODEL_AVAILABLE_STREAMS + +- Adds support for Item Model, Multi-decimal (for Plan Model), and Account hierarchy (for Plan Model) [#56](https://github.com/singer-io/tap-chargebee/pull/56) +- Organized the folder structure: + a. common(common schemas to both plan model and item model) + b. item_model + c. plan_model +- Introduces two new streams: ITEM_MODEL_AVAILABLE_STREAMS, PLAN_MODEL_AVAILABLE_STREAMS ## 1.0.3 - * Fix invalid JSON from #44 + +- Fix invalid JSON from #44 ## 1.0.2 - * Remove `maxLength` from `payment_sources` schema to address certain integrations having IDs of greater length than specified, and make the schema more flexible as the API evolves [#44](https://github.com/singer-io/tap-chargebee/pull/44) + +- Remove `maxLength` from `payment_sources` schema to address certain integrations having IDs of greater length than specified, and make the schema more flexible as the API evolves [#44](https://github.com/singer-io/tap-chargebee/pull/44) ## 1.0.0 - * No change from 0.0.12 + +- No change from 0.0.12 ## 0.0.12 - * Add `custom_fields` to plans, addons, customers, and subscriptions [#9](https://github.com/singer-io/tap-chargebee/pull/9) + +- Add `custom_fields` to plans, addons, customers, and subscriptions [#9](https://github.com/singer-io/tap-chargebee/pull/9) ## 0.0.3 - * Add `credit_notes` stream [#2](https://github.com/singer-io/tap-chargebee/pull/2) + +- Add `credit_notes` stream [#2](https://github.com/singer-io/tap-chargebee/pull/2) diff --git a/setup.py b/setup.py index 2f8380b..ec07056 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup(name='tap-chargebee', - version='1.3.5', + version='1.4.0', description='Singer.io tap for extracting data from the Chargebee API', author='dwallace@envoy.com', classifiers=['Programming Language :: Python :: 3 :: Only'], diff --git a/tap_chargebee/schemas/item_model/subscriptions.json b/tap_chargebee/schemas/item_model/subscriptions.json index 29e48bd..16d15f7 100644 --- a/tap_chargebee/schemas/item_model/subscriptions.json +++ b/tap_chargebee/schemas/item_model/subscriptions.json @@ -1,139 +1,139 @@ { - "type":[ + "type": [ "null", "object" ], - "additionalProperties":false, - "properties":{ - "id":{ - "type":[ + "additionalProperties": false, + "properties": { + "id": { + "type": [ "null", "string" ] }, - "currency_code":{ - "type":[ + "currency_code": { + "type": [ "null", "string" ] }, - "start_date":{ - "type":[ + "start_date": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "changes_scheduled_at":{ - "type":[ + "changes_scheduled_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "trial_end":{ - "type":[ + "trial_end": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "remaining_billing_cycles":{ - "type":[ + "remaining_billing_cycles": { + "type": [ "null", "integer" ] }, - "po_number":{ - "type":[ + "po_number": { + "type": [ "null", "string" ] }, - "plan_quantity_in_decimal" : { - "type":[ + "plan_quantity_in_decimal": { + "type": [ "null", "string" ] }, - "plan_unit_price_in_decimal" : { - "type":[ - "null", + "plan_unit_price_in_decimal": { + "type": [ + "null", "string" ] }, - "customer_id":{ - "type":[ + "customer_id": { + "type": [ "null", "string" ] }, - "status":{ - "type":[ + "status": { + "type": [ "null", "string" ] }, - "coupon":{ - "type":[ + "coupon": { + "type": [ "null", "string" ] }, - "trial_start":{ - "type":[ + "trial_start": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "trial_end_action":{ - "type":[ + "trial_end_action": { + "type": [ "null", "string" ] }, - "current_term_start":{ - "type":[ + "current_term_start": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "current_term_end":{ - "type":[ + "current_term_end": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "next_billing_at":{ - "type":[ + "next_billing_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "created_at":{ - "type":[ + "created_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "started_at":{ - "type":[ + "started_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "activated_at":{ - "type":[ + "activated_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, "contract_term_billing_cycle_on_renewal": { "type": [ @@ -147,57 +147,57 @@ "boolean" ] }, - "pause_date":{ - "type":[ + "pause_date": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "resume_date":{ - "type":[ + "resume_date": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "cancelled_at":{ - "type":[ + "cancelled_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "cancel_reason":{ - "type":[ + "cancel_reason": { + "type": [ "null", "string" ] }, - "created_from_ip":{ - "type":[ + "created_from_ip": { + "type": [ "null", "string" ] }, - "resource_version":{ - "type":[ + "resource_version": { + "type": [ "null", "integer" ] }, - "object":{ - "type":[ + "object": { + "type": [ "null", "string" ] }, - "updated_at":{ - "type":[ + "updated_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, "has_scheduled_advance_invoices": { "type": [ @@ -205,99 +205,99 @@ "boolean" ] }, - "has_scheduled_changes":{ - "type":[ + "has_scheduled_changes": { + "type": [ "null", "boolean" ] }, - "payment_source_id":{ - "type":[ + "payment_source_id": { + "type": [ "null", "string" ] }, - "plan_free_quantity_in_decimal":{ - "type":[ + "plan_free_quantity_in_decimal": { + "type": [ "null", "string" ] }, - "plan_amount_in_decimal":{ - "type":[ + "plan_amount_in_decimal": { + "type": [ "null", "string" ] }, - "auto_collection":{ - "type":[ + "auto_collection": { + "type": [ "null", "string" ] }, - "billing_period":{ - "type":[ + "billing_period": { + "type": [ "null", "integer" ] }, - "billing_period_unit":{ - "type":[ + "billing_period_unit": { + "type": [ "null", "string" ] }, - "due_invoices_count":{ - "type":[ + "due_invoices_count": { + "type": [ "null", "integer" ] }, - "due_since":{ - "type":[ + "due_since": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "total_dues":{ - "type":[ + "total_dues": { + "type": [ "null", "integer" ] }, - "mrr":{ - "type":[ + "mrr": { + "type": [ "null", "integer" ] }, - "exchange_rate":{ - "type":[ + "exchange_rate": { + "type": [ "null", "number" ] }, - "base_currency_code":{ - "type":[ + "base_currency_code": { + "type": [ "null", "string" ] }, - "invoice_notes":{ - "type":[ + "invoice_notes": { + "type": [ "null", "string" ] }, - "meta_data":{ - "type":[ + "meta_data": { + "type": [ "null", "string" ] }, - "deleted":{ - "type":[ + "deleted": { + "type": [ "null", "boolean" ] @@ -309,7 +309,7 @@ ], "format": "date-time" }, - "cancel_reason_code" : { + "cancel_reason_code": { "type": [ "null", "string" @@ -321,7 +321,7 @@ "integer" ] }, - "free_period_unit" : { + "free_period_unit": { "type": [ "null", "string" @@ -351,256 +351,256 @@ "string" ] }, - "discounts":{ - "type":[ + "discounts": { + "type": [ "null", "array" ], - "items":{ - "type":[ + "items": { + "type": [ "null", "object" ], - "properties":{ + "properties": { "id": { "type": [ "null", "string" ] - }, - "invoice_name": { + }, + "invoice_name": { "type": [ "null", "string" ] - }, - "type": { + }, + "type": { "type": [ "null", "string" ] - }, - "percentage": { + }, + "percentage": { "type": [ "null", "number" ] - }, - "amount": { + }, + "amount": { "type": [ "null", "number" ] - }, - "currency_code": { + }, + "currency_code": { "type": [ "null", "string" ] - }, - "duration_type": { + }, + "duration_type": { "type": [ "null", "string" ] - }, - "period": { + }, + "period": { "type": [ "null", "integer" ] - }, - "period_unit": { + }, + "period_unit": { "type": [ "null", "string" ] - }, - "included_in_mrr": { + }, + "included_in_mrr": { "type": [ "null", "boolean" ] - }, - "apply_on": { + }, + "apply_on": { "type": [ "null", "string" ] - }, - "item_price_id": { + }, + "item_price_id": { "type": [ "null", "string" ] - }, - "created_at": { + }, + "created_at": { "type": [ "null", "integer" ] - }, - "name": { + }, + "name": { "type": [ "null", "string" ] - }, - "updated_at": { + }, + "updated_at": { "type": [ "null", "integer" ] - }, - "resource_version": { + }, + "resource_version": { "type": [ "null", "integer" ] - }, - "applied_count": { + }, + "applied_count": { "type": [ "null", "integer" ] - }, - "coupon_id": { + }, + "coupon_id": { "type": [ "null", "string" ] - }, - "index": { + }, + "index": { "type": [ "null", "integer" ] - }, - "apply_till": { + }, + "apply_till": { "type": [ "null", "integer" ] - }, - "object": { + }, + "object": { "type": [ - "null", - "string" + "null", + "string" ] - } + } } } }, - "subscription_items":{ - "type":[ + "subscription_items": { + "type": [ "null", "array" ], - "items":{ - "type":[ + "items": { + "type": [ "null", "object" ], - "properties":{ - "item_price_id":{ - "type":[ + "properties": { + "item_price_id": { + "type": [ "null", "string" ] }, - "item_type":{ - "type":[ + "item_type": { + "type": [ "null", "string" ] }, - "quantity":{ - "type":[ + "quantity": { + "type": [ "null", "integer" ] }, - "quantity_in_decimal":{ - "type":[ + "quantity_in_decimal": { + "type": [ "null", "string" ] }, - "unit_price":{ - "type":[ + "unit_price": { + "type": [ "null", "integer" ] }, - "unit_price_in_decimal":{ - "type":[ + "unit_price_in_decimal": { + "type": [ "null", "string" ] }, - "amount":{ - "type":[ + "amount": { + "type": [ "null", "integer" ] }, - "amount_in_decimal":{ - "type":[ + "amount_in_decimal": { + "type": [ "null", "string" ] }, - "free_quantity":{ - "type":[ + "free_quantity": { + "type": [ "null", "integer" ] }, - "free_quantity_in_decimal":{ - "type":[ + "free_quantity_in_decimal": { + "type": [ "null", "string" ] }, - "trial_end":{ - "type":[ + "trial_end": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "billing_cycles":{ - "type":[ + "billing_cycles": { + "type": [ "null", "integer" ] }, - "service_period_days":{ - "type":[ + "service_period_days": { + "type": [ "null", "integer" ] }, - "charge_on_event":{ - "type":[ + "charge_on_event": { + "type": [ "null", "string" ] }, - "charge_once":{ - "type":[ + "charge_once": { + "type": [ "null", "boolean" ] }, - "charge_on_option":{ - "type":[ + "charge_on_option": { + "type": [ "null", "string" ] }, - "object":{ - "type":[ + "object": { + "type": [ "null", "string" ] @@ -608,55 +608,55 @@ } } }, - "item_tiers":{ - "type":[ + "item_tiers": { + "type": [ "null", "array" ], - "items":{ - "type":[ + "items": { + "type": [ "null", "object" ], - "properties":{ - "item_price_id":{ - "type":[ + "properties": { + "item_price_id": { + "type": [ "null", "string" ] }, - "starting_unit":{ - "type":[ + "starting_unit": { + "type": [ "null", "integer" ] }, - "ending_unit":{ - "type":[ + "ending_unit": { + "type": [ "null", "integer" ] }, - "price":{ - "type":[ + "price": { + "type": [ "null", "integer" ] }, - "starting_unit_in_decimal":{ - "type":[ + "starting_unit_in_decimal": { + "type": [ "null", "string" ] }, - "ending_unit_in_decimal":{ - "type":[ + "ending_unit_in_decimal": { + "type": [ "null", "string" ] }, - "price_in_decimal":{ - "type":[ + "price_in_decimal": { + "type": [ "null", "string" ] @@ -664,32 +664,32 @@ } } }, - "charged_items":{ - "type":[ + "charged_items": { + "type": [ "null", "array" ], - "items":{ - "type":[ + "items": { + "type": [ "null", "object" ], - "properties":{ - "item_price_id":{ - "type":[ + "properties": { + "item_price_id": { + "type": [ "null", "string" ] }, - "last_charged_at":{ - "type":[ + "last_charged_at": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "object":{ - "type":[ + "object": { + "type": [ "null", "string" ] @@ -697,44 +697,44 @@ } } }, - "coupons":{ - "type":[ + "coupons": { + "type": [ "null", "array" ], - "items":{ - "type":[ + "items": { + "type": [ "null", "object" ], - "properties":{ - "coupon_id":{ - "type":[ + "properties": { + "coupon_id": { + "type": [ "null", "string" ] }, - "apply_till":{ - "type":[ + "apply_till": { + "type": [ "null", "string" ], - "format":"date-time" + "format": "date-time" }, - "applied_count":{ - "type":[ + "applied_count": { + "type": [ "null", "integer" ] }, - "coupon_code":{ - "type":[ + "coupon_code": { + "type": [ "null", "string" ] }, - "object":{ - "type":[ + "object": { + "type": [ "null", "string" ] @@ -742,190 +742,190 @@ } } }, - "shipping_address":{ - "type":[ + "shipping_address": { + "type": [ "null", "object" ], - "properties":{ - "first_name":{ - "type":[ + "properties": { + "first_name": { + "type": [ "null", "string" ] }, - "last_name":{ - "type":[ + "last_name": { + "type": [ "null", "string" ] }, - "email":{ - "type":[ + "email": { + "type": [ "null", "string" ] }, - "company":{ - "type":[ + "company": { + "type": [ "null", "string" ] }, - "phone":{ - "type":[ + "phone": { + "type": [ "null", "string" ] }, - "line1":{ - "type":[ + "line1": { + "type": [ "null", "string" ] }, - "line2":{ - "type":[ + "line2": { + "type": [ "null", "string" ] }, - "line3":{ - "type":[ + "line3": { + "type": [ "null", "string" ] }, - "city":{ - "type":[ + "city": { + "type": [ "null", "string" ] }, - "state_code":{ - "type":[ + "state_code": { + "type": [ "null", "string" ] }, - "state":{ - "type":[ + "state": { + "type": [ "null", "string" ] }, - "country":{ - "type":[ + "country": { + "type": [ "null", "string" ] }, - "zip":{ - "type":[ + "zip": { + "type": [ "null", "string" ] }, - "validation_status":{ - "type":[ + "validation_status": { + "type": [ "null", "string" ] }, - "object":{ - "type":[ - "null", - "string" - ] - } + "object": { + "type": [ + "null", + "string" + ] + } } }, - "referral_info":{ - "type":[ + "referral_info": { + "type": [ "null", "object" ], - "properties":{ - "referral_code":{ - "type":[ + "properties": { + "referral_code": { + "type": [ "null", "string" ] }, - "coupon_code":{ - "type":[ + "coupon_code": { + "type": [ "null", "string" ] }, - "referrer_id":{ - "type":[ + "referrer_id": { + "type": [ "null", "string" ] }, - "external_reference_id":{ - "type":[ + "external_reference_id": { + "type": [ "null", "string" ] }, - "reward_status":{ - "type":[ + "reward_status": { + "type": [ "null", "string" ] }, - "referral_system":{ - "type":[ + "referral_system": { + "type": [ "null", "string" ] }, - "account_id":{ - "type":[ + "account_id": { + "type": [ "null", "string" ] }, - "campaign_id":{ - "type":[ + "campaign_id": { + "type": [ "null", "string" ] }, - "external_campaign_id":{ - "type":[ + "external_campaign_id": { + "type": [ "null", "string" ] }, - "friend_offer_type":{ - "type":[ + "friend_offer_type": { + "type": [ "null", "string" ] }, - "referrer_reward_type":{ - "type":[ + "referrer_reward_type": { + "type": [ "null", "string" ] }, - "notify_referral_system":{ - "type":[ + "notify_referral_system": { + "type": [ "null", "string" ] }, - "destination_url":{ - "type":[ + "destination_url": { + "type": [ "null", "string" ] }, - "post_purchase_widget_enabled":{ - "type":[ + "post_purchase_widget_enabled": { + "type": [ "null", "boolean" ] @@ -933,11 +933,11 @@ } }, "contract_term": { - "type": [ + "type": [ "null", "object" ], - "properties": { + "properties": { "id": { "type": [ "null", diff --git a/tests/test_chargebee_all_fields.py b/tests/test_chargebee_all_fields.py index c5e2474..72967d9 100644 --- a/tests/test_chargebee_all_fields.py +++ b/tests/test_chargebee_all_fields.py @@ -39,6 +39,7 @@ class ChargebeeAllFieldsTest(ChargebeeBaseTest): 'plan_unit_price_in_decimal', 'trial_end_action', # Enable Trial End Action feature 'changes_scheduled_at', + 'discounts', 'event_based_addons' }, 'customers': { # not found in the UI @@ -71,6 +72,7 @@ class ChargebeeAllFieldsTest(ChargebeeBaseTest): 'entity_identifier_scheme', 'cf_people_id', 'invoice_notes', + 'tax_providers_fields', 'business_entity_id' }, @@ -202,6 +204,7 @@ class ChargebeeAllFieldsTest(ChargebeeBaseTest): 'contract_term_termination_fee', 'contract_term_end' }, + 'events': {'user'}, 'invoices': {'line_item_tiers'}, 'plans': { # not found in the UI 'avalara_service_type', # configure Avatax for Communications diff --git a/tests/test_chargebee_pagination.py b/tests/test_chargebee_pagination.py index 4406066..bf27de7 100644 --- a/tests/test_chargebee_pagination.py +++ b/tests/test_chargebee_pagination.py @@ -38,7 +38,7 @@ def pagination_test_run(self): Testing that sync creates the appropriate catalog with valid metadata. • Verify that all fields and all streams have selected set to True in the metadata """ - page_size = 100 # Page size for events + page_size = 10 # Page size for events conn_id = connections.ensure_connection(self) # Expected stream is only events