@@ -17,8 +17,9 @@ def test_create_from_url(configured_project):
17
17
name = str (uuid .uuid4 ())
18
18
url = "https://storage.googleapis.com/labelbox-public-bucket/predictions_test_v2.ndjson"
19
19
20
- bulk_import_request = configured_project .upload_annotations (
21
- name = name , annotations = url , validate = False )
20
+ bulk_import_request = configured_project .upload_annotations (name = name ,
21
+ annotations = url ,
22
+ validate = False )
22
23
23
24
assert bulk_import_request .project () == configured_project
24
25
assert bulk_import_request .name == name
@@ -125,8 +126,9 @@ def test_wait_till_done(rectangle_inference, configured_project):
125
126
url = configured_project .client .upload_data (content = ndjson .dumps (
126
127
[rectangle_inference ]),
127
128
sign = True )
128
- bulk_import_request = configured_project .upload_annotations (
129
- name = name , annotations = url , validate = False )
129
+ bulk_import_request = configured_project .upload_annotations (name = name ,
130
+ annotations = url ,
131
+ validate = False )
130
132
131
133
assert len (bulk_import_request .inputs ) == 1
132
134
bulk_import_request .wait_until_done ()
@@ -159,4 +161,4 @@ def test_delete(client, configured_project, predictions):
159
161
query_str = """query bulk_import_requests($%s: ID!) {bulkImportRequests(where: {projectId: $%s}) {id}}""" % (
160
162
id_param , id_param )
161
163
all_import_requests = client .execute (query_str , {id_param : project .uid })
162
- assert len (all_import_requests ['bulkImportRequests' ]) == 0
164
+ assert len (all_import_requests ['bulkImportRequests' ]) == 0
0 commit comments