Skip to content

Commit efea3b8

Browse files
AppSID, AppKey obtaining updated
1 parent ab92aee commit efea3b8

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

test/pdf_tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646
class PdfTests(unittest.TestCase):
4747

4848
def setUp(self):
49-
with open('test/setup.json') as json_file:
49+
with open('../../Settings/servercreds.json') as json_file:
5050
data = json.load(json_file)
5151

5252
self.pdf_api_client = asposepdfcloud.api_client.ApiClient(
53-
app_key=str(data['app_key']),
54-
app_sid=str(data['app_sid']),
55-
host=str(data['product_uri']))
53+
app_key=str(data['AppKey']),
54+
app_sid=str(data['AppSID']),
55+
host=str(data['ProductUri']))
5656

5757
self.pdf_api = PdfApi(self.pdf_api_client)
5858

59-
self.output_path = str(data['output_location'])
59+
self.output_path = str(data['OutputLocation'])
6060

6161
self.temp_folder = 'TempPdfCloud'
6262
self.test_data_path = 'test_data/'

test/setup.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)