Skip to content

Commit 8c289ff

Browse files
author
Ilya Nevolin
committed
bugfixes and cleanup
1 parent d472180 commit 8c289ff

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

spurwing/Client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ def HTTP(method, endpoint, params=None, data=None, headers=None):
6565
elif method == 'POST': resp = requests.post(url, params=params, headers=headers, data=data,)
6666
elif method == 'PUT': resp = requests.put(url, params=params, headers=headers, data=data,)
6767
elif method == 'DELETE': resp = requests.delete(url, params=params, headers=headers)
68-
68+
6969
if resp.status_code == 200: return resp.json()
7070
else: raise Exception({'status':resp.status, 'text':resp.statusText, 'url':url})

spurwing/test_api.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ def wrapper():
1414

1515
@runner
1616
def test_1():
17-
tz = "Europe/Brussels";
18-
1917
A = sp.get_appointment_types(PID)
2018
log(A)
2119
assert len(A) == 3

0 commit comments

Comments
 (0)