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 @@ -30,7 +30,7 @@ def test_check_valid_image_with_unaccepted_formats(self):
3030 def test_upload_raises_upload_image_error (self ):
3131 responses .add (
3232 responses .POST ,
33- f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } " f" &batch={ DEFAULT_BATCH_NAME } " ,
33+ f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } &batch={ DEFAULT_BATCH_NAME } " ,
3434 json = {
3535 "error" : {
3636 "message" : "Invalid image." ,
@@ -56,15 +56,15 @@ def test_upload_raises_upload_annotation_error(self):
5656 # Image upload
5757 responses .add (
5858 responses .POST ,
59- f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } " f" &batch={ DEFAULT_BATCH_NAME } " ,
59+ f"{ API_URL } /dataset/{ PROJECT_NAME } /upload?api_key={ ROBOFLOW_API_KEY } &batch={ DEFAULT_BATCH_NAME } " ,
6060 json = {"success" : True , "id" : image_id },
6161 status = 200 ,
6262 )
6363
6464 # Annotation
6565 responses .add (
6666 responses .POST ,
67- f"{ API_URL } /dataset/{ PROJECT_NAME } /annotate/{ image_id } ?api_key={ ROBOFLOW_API_KEY } " f" &name={ image_name } " ,
67+ f"{ API_URL } /dataset/{ PROJECT_NAME } /annotate/{ image_id } ?api_key={ ROBOFLOW_API_KEY } &name={ image_name } " ,
6868 json = {
6969 "error" : {
7070 "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