Skip to content

Commit 943176e

Browse files
fix: removal of unreferenced subscription; fix of badly named __str__
1 parent 524577c commit 943176e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

spec.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,6 @@ def main():
3434
# Fetch the customers
3535
client.new_customer().all()
3636

37-
# Create a subscription for a customer
38-
customer = client.new_customer().create()
39-
assert customer.id != "", "The created customer ID should not be empty"
40-
41-
subscription = client.new_subscription({
42-
"customer_id": customer.id,
43-
"name": "Test subscription",
44-
"amount": "9.99",
45-
"currency": "USD",
46-
"interval": "1d"
47-
}).create()
48-
assert subscription.id != "", "The created subscription ID should not be empty"
49-
5037
# Expand a customers' project and fetch gateways
5138
customer = client.new_customer().create({"expand": ["project"]})
5239
assert customer.project != None, "The customer project should be expanded"

0 commit comments

Comments
 (0)