File tree Expand file tree Collapse file tree 2 files changed +5
-19
lines changed
Expand file tree Collapse file tree 2 files changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ Changelog
33* 0.9.6 (January 2, 2024)
44 * Replace RAuth with requests_oauthlib
55 * Removed python 2 code from client.py
6+ * Removed unused dependencies from Pipfile
67 * Added new fields to Employee object
78 * Added VendorAddr to Bill object
89 * Added new fields to Estimate object
9- * Fix taxinclusiveamt and vendor setting 1099 creation
10+ * Fix TaxInclusiveAmt and vendor setting 1099 creation
11+ * Updated readme and contributing
1012
1113* 0.9.5 (November 1, 2023)
1214 * Added the ability to void all voidable QB types
Original file line number Diff line number Diff line change 1- import unittest
1+ from tests . integration . test_base import QuickbooksUnitTestCase
22
33try :
44 from mock import patch
88from quickbooks .exceptions import QuickbooksException , SevereException , AuthorizationException
99from quickbooks import client
1010from quickbooks .objects .salesreceipt import SalesReceipt
11- from intuitlib .client import AuthClient
1211
1312
1413TEST_SIGNATURE = 'nfPLN16u3vMvv08ghDs+dOkLuirEVDy5wAeG/lmM2OA='
1716TEST_REFRESH_TOKEN = 'refresh'
1817
1918
20- class ClientTest (unittest . TestCase ):
19+ class ClientTest (QuickbooksUnitTestCase ):
2120 def setUp (self ):
2221 super (ClientTest , self ).setUp ()
2322
24- self .auth_client = AuthClient (
25- client_id = 'CLIENTID' ,
26- client_secret = 'CLIENT_SECRET' ,
27- environment = 'sandbox' ,
28- redirect_uri = 'http://localhost:8000/callback' ,
29- )
30-
3123 self .auth_client .access_token = 'ACCESS_TOKEN'
3224
33- self .qb_client = client .QuickBooks (
34- # auth_client=self.auth_client,
35- refresh_token = 'REFRESH_TOKEN' ,
36- company_id = 'COMPANY_ID' ,
37- )
38-
39- self .qb_client .sandbox = True
40-
4125 def tearDown (self ):
4226 self .qb_client = client .QuickBooks ()
4327 self .qb_client ._drop ()
You can’t perform that action at this time.
0 commit comments