Skip to content

Commit 4aad0fd

Browse files
jorwoodsJordan Woods
authored andcommitted
Squashed commit of the following:
commit b836f33 Author: Brian Cantoni <bcantoni@salesforce.com> Date: Thu Jan 27 19:29:50 2022 -0800 WIP: Enable Black for CI and add as dependency (#935) * Enable Black for CI and add as dependency * Bulk reformat with Black, line length 120 Co-authored-by: Jac Fitzgerald <jac.fitzgerald@salesforce.com>
1 parent de4bcc6 commit 4aad0fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_view.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,12 @@ def test_update_tags(self) -> None:
287287
def test_populate_excel(self) -> None:
288288
self.server.version = "3.8"
289289
self.baseurl = self.server.views.baseurl
290-
with open(POPULATE_EXCEL, 'rb') as f:
290+
with open(POPULATE_EXCEL, "rb") as f:
291291
response = f.read()
292292
with requests_mock.mock() as m:
293-
m.get(self.baseurl + '/d79634e1-6063-4ec9-95ff-50acbf609ff5/crosstab/excel?maxAge=1', content=response)
293+
m.get(self.baseurl + "/d79634e1-6063-4ec9-95ff-50acbf609ff5/crosstab/excel?maxAge=1", content=response)
294294
single_view = TSC.ViewItem()
295-
single_view._id = 'd79634e1-6063-4ec9-95ff-50acbf609ff5'
295+
single_view._id = "d79634e1-6063-4ec9-95ff-50acbf609ff5"
296296
request_option = TSC.CSVRequestOptions(maxage=1)
297297
self.server.views.populate_excel(single_view, request_option)
298298

0 commit comments

Comments
 (0)