Skip to content

Commit 08d36d5

Browse files
fix: Ignore type errors
1 parent 5bf994a commit 08d36d5

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

products/revenue_analytics/backend/views/sources/test/stripe/test_stripe_charge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_build_with_no_charge_schema(self):
3737
self.assertQueryContainsFields(query.query, CHARGE_SCHEMA)
3838
self.assertBuiltQueryStructure(
3939
query,
40-
str(self.stripe_handle.source.id),
40+
str(self.stripe_handle.source.id), # type: ignore
4141
f"stripe.{self.external_data_source.prefix}",
4242
expected_test_comments="no_schema",
4343
)
@@ -63,7 +63,7 @@ def test_build_with_charge_schema_but_no_table(self):
6363
self.assertQueryContainsFields(query.query, CHARGE_SCHEMA)
6464
self.assertBuiltQueryStructure(
6565
query,
66-
str(self.stripe_handle.source.id),
66+
str(self.stripe_handle.source.id), # type: ignore
6767
f"stripe.{self.external_data_source.prefix}",
6868
expected_test_comments="no_table",
6969
)

products/revenue_analytics/backend/views/sources/test/stripe/test_stripe_customer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_build_with_no_customer_schema(self):
5252
self.assertQueryContainsFields(query.query, CUSTOMER_SCHEMA)
5353
self.assertBuiltQueryStructure(
5454
query,
55-
str(self.stripe_handle.source.id),
55+
str(self.stripe_handle.source.id), # type: ignore
5656
f"stripe.{self.external_data_source.prefix}",
5757
expected_test_comments="no_schema",
5858
)
@@ -77,7 +77,7 @@ def test_build_with_customer_schema_but_no_table(self):
7777
self.assertQueryContainsFields(query.query, CUSTOMER_SCHEMA)
7878
self.assertBuiltQueryStructure(
7979
query,
80-
str(self.stripe_handle.source.id),
80+
str(self.stripe_handle.source.id), # type: ignore
8181
f"stripe.{self.external_data_source.prefix}",
8282
expected_test_comments="no_table",
8383
)

products/revenue_analytics/backend/views/sources/test/stripe/test_stripe_product.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_build_with_no_product_schema(self):
3737
self.assertQueryContainsFields(query.query, PRODUCT_SCHEMA)
3838
self.assertBuiltQueryStructure(
3939
query,
40-
str(self.stripe_handle.source.id),
40+
str(self.stripe_handle.source.id), # type: ignore
4141
f"stripe.{self.external_data_source.prefix}",
4242
expected_test_comments="no_schema",
4343
)
@@ -63,7 +63,7 @@ def test_build_with_product_schema_but_no_table(self):
6363
self.assertQueryContainsFields(query.query, PRODUCT_SCHEMA)
6464
self.assertBuiltQueryStructure(
6565
query,
66-
str(self.stripe_handle.source.id),
66+
str(self.stripe_handle.source.id), # type: ignore
6767
f"stripe.{self.external_data_source.prefix}",
6868
expected_test_comments="no_table",
6969
)

products/revenue_analytics/backend/views/sources/test/stripe/test_stripe_revenue_item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_build_with_no_relevant_schemas(self):
8787
self.assertQueryContainsFields(query.query, REVENUE_ITEM_SCHEMA)
8888
self.assertBuiltQueryStructure(
8989
query,
90-
str(self.stripe_handle.source.id),
90+
str(self.stripe_handle.source.id), # type: ignore
9191
f"stripe.{self.external_data_source.prefix}",
9292
expected_test_comments="no_schema",
9393
)

products/revenue_analytics/backend/views/sources/test/stripe/test_stripe_subscription.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_build_with_no_subscription_schema(self):
3535
self.assertQueryContainsFields(query.query, SUBSCRIPTION_SCHEMA)
3636
self.assertBuiltQueryStructure(
3737
query,
38-
str(self.stripe_handle.source.id),
38+
str(self.stripe_handle.source.id), # type: ignore
3939
f"stripe.{self.external_data_source.prefix}",
4040
expected_test_comments="no_schema",
4141
)
@@ -60,7 +60,7 @@ def test_build_with_subscription_schema_but_no_table(self):
6060
self.assertQueryContainsFields(query.query, SUBSCRIPTION_SCHEMA)
6161
self.assertBuiltQueryStructure(
6262
query,
63-
str(self.stripe_handle.source.id),
63+
str(self.stripe_handle.source.id), # type: ignore
6464
f"stripe.{self.external_data_source.prefix}",
6565
expected_test_comments="no_table",
6666
)

0 commit comments

Comments
 (0)