File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def test_check_valid_image_with_unaccepted_formats(self):
3131 def test_upload_raises_upload_image_error (self ):
3232 responses .add (
3333 responses .POST ,
34- f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } " f" &batch={ DEFAULT_BATCH_NAME } " ,
34+ f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } &batch={ DEFAULT_BATCH_NAME } " ,
3535 json = {
3636 "error" : {
3737 "message" : "Invalid image." ,
@@ -57,15 +57,15 @@ def test_upload_raises_upload_annotation_error(self):
5757 # Image upload
5858 responses .add (
5959 responses .POST ,
60- f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } " f" &batch={ DEFAULT_BATCH_NAME } " ,
60+ f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } &batch={ DEFAULT_BATCH_NAME } " ,
6161 json = {"success" : True , "id" : image_id },
6262 status = 200 ,
6363 )
6464
6565 # Annotation
6666 responses .add (
6767 responses .POST ,
68- f"{ API_URL } /dataset/{ PROJECT_NAME } /annotate/{ image_id } ?api_key={ ROBOFLOW_API_KEY } " f" &name={ image_name } " ,
68+ f"{ API_URL } /dataset/{ PROJECT_NAME } /annotate/{ image_id } ?api_key={ ROBOFLOW_API_KEY } &name={ image_name } " ,
6969 json = {
7070 "error" : {
7171 "message" : "Image was already annotated." ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def test_project_methods(self):
4747 # Upload image
4848 responses .add (
4949 responses .POST ,
50- f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } " f" &batch={ DEFAULT_BATCH_NAME } " ,
50+ f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } &batch={ DEFAULT_BATCH_NAME } " ,
5151 json = {"duplicate" : True , "id" : "hbALkCFdNr9rssgOUXug" },
5252 status = 200 ,
5353 )
You can’t perform that action at this time.
0 commit comments