We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 899c842 commit 264a4adCopy full SHA for 264a4ad
test/api/test_invoice.py
@@ -438,12 +438,9 @@ def test_retrieve_invoice(self, mock_requests):
438
json=retrieveInvoiceExample,
439
)
440
441
- config = Config("token") # is actually checked in mock
+ config = Config("token")
442
result = Invoice.retrieve(config, uuid="inv_22910fc6-c931-48e7-ac12-90d2cb5f0059").get()
443
444
self.assertEqual(mock_requests.call_count, 1, "expected call")
445
-
446
- # Struct too complex to do 1:1 comparison
447
self.assertTrue(isinstance(result, Invoice))
448
449
self.assertEqual(result.uuid, "inv_22910fc6-c931-48e7-ac12-90d2cb5f0059")
0 commit comments