Skip to content

Commit

Permalink
Fix test copypasta
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Jul 12, 2021
1 parent febe0c6 commit 79df960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api_resources/test_quote.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ def test_can_list_computed_upfront_line_items(self, request_mock):
def test_can_list_computed_upfront_line_items_classmethod(
self, request_mock
):
resource = stripe.Quote.list_computed_upfront_line_items(
resources = stripe.Quote.list_computed_upfront_line_items(
TEST_RESOURCE_ID
)
request_mock.assert_requested(
"post",
"/v1/quotes/%s/computed_upfront_line_items" % TEST_RESOURCE_ID,
)
assert isinstance(resource, stripe.Quote)
assert isinstance(resources.data[0], stripe.LineItem)

def test_can_pdf(self, setup_upload_api_base, request_mock):
resource = stripe.Quote.retrieve(TEST_RESOURCE_ID)
Expand Down

0 comments on commit 79df960

Please sign in to comment.