Skip to content

Commit 264a4ad

Browse files
committed
Update @loomchild review
1 parent 899c842 commit 264a4ad

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/api/test_invoice.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,12 +438,9 @@ def test_retrieve_invoice(self, mock_requests):
438438
json=retrieveInvoiceExample,
439439
)
440440

441-
config = Config("token") # is actually checked in mock
441+
config = Config("token")
442442
result = Invoice.retrieve(config, uuid="inv_22910fc6-c931-48e7-ac12-90d2cb5f0059").get()
443443

444444
self.assertEqual(mock_requests.call_count, 1, "expected call")
445-
446-
# Struct too complex to do 1:1 comparison
447445
self.assertTrue(isinstance(result, Invoice))
448-
449446
self.assertEqual(result.uuid, "inv_22910fc6-c931-48e7-ac12-90d2cb5f0059")

0 commit comments

Comments
 (0)