Skip to content

Commit 5769110

Browse files
committed
Address style issues
1 parent f56a21d commit 5769110

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ alma
2929
casda
3030
^^^^^
3131

32-
- Support jobs which are in the SUSPENDED state (used when copying data) [#3133]
32+
- Support jobs which are in the SUSPENDED state (used when copying data) [#3134]
3333

3434
ehst
3535
^^^^

astroquery/casda/tests/test_casda.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ def get_mockreturn(self, method, url, data=None, timeout=10,
7272
float(pos_parts[2]), float(pos_parts[3]))
7373
return create_soda_create_response('111-000-111-000')
7474
elif str(url).endswith('111-000-111-000') and method == 'GET':
75-
key = "SUSPENDED_JOB" if self.job_pass_num==1 else 'RUN_JOB' if self.job_pass_num==2 else self.completed_job_key
76-
self.job_pass_num+=1
75+
key = "SUSPENDED_JOB" if self.job_pass_num == 1 else 'RUN_JOB' if self.job_pass_num == 2 \
76+
else self.completed_job_key
77+
self.job_pass_num += 1
7778
else:
7879
raise ValueError("Unexpected SODA async {} call to url {}".format(method, url))
7980
elif 'datalink' in str(url):

0 commit comments

Comments
 (0)