Skip to content

Commit 901052f

Browse files
authored
chore: remove unused method and class (#243)
1 parent 7163c97 commit 901052f

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

tests/test_sumo_thin_client.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@ def _upload_blob(conn, blob, url=None, object_id=None):
3333
return response
3434

3535

36-
def _get_blob_uri(conn, object_id):
37-
response = conn.get(f"/objects('{object_id}')/blob/authuri")
38-
39-
print("Blob save " + str(response.status_code), flush=True)
40-
if not 200 <= response.status_code < 202:
41-
raise Exception(
42-
f"get blob uri for {object_id}"
43-
f" returned {response.text} {response.status_code}"
44-
)
45-
return response
46-
47-
4836
def _download_object(conn, object_id):
4937
json = conn.get(f"/objects('{object_id}')").json()
5038

@@ -67,12 +55,6 @@ def _delete_object(conn, object_id):
6755
return response
6856

6957

70-
class ValueKeeper:
71-
"""Class for keeping/passing values between tests"""
72-
73-
pass
74-
75-
7658
""" TESTS """
7759

7860

@@ -234,7 +216,7 @@ def test_upload_duplicate_ensemble(token):
234216
# time-to-live of 60 seconds. If there are multiple replicas
235217
# running, we might get the situation where we have just deleted
236218
# the case via one replica, then ask for the object from another
237-
# replica which still has it ins cache. Thus, the magic value 61,
219+
# replica which still has it in cache. Thus, the magic value 61,
238220
# below.
239221
sleep(61)
240222

0 commit comments

Comments
 (0)