Skip to content

Commit

Permalink
fix: use projects resolver to check for data connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas1312 committed Oct 5, 2023
1 parent 662437d commit 0b434df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/fakes/fake_kili.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def mocked_ProjectQuery(where, _fields, _options):
"description": "This is a test project",
"jsonInterface": json_interface,
"inputType": "IMAGE",
"dataConnections": None,
}
]
elif project_id == "object_detection_video_project":
Expand Down Expand Up @@ -122,6 +123,7 @@ def mocked_ProjectQuery(where, _fields, _options):
"description": "This is a test project",
"jsonInterface": json_interface,
"inputType": "VIDEO",
"dataConnections": None,
}
]
elif project_id == "text_classification":
Expand Down Expand Up @@ -155,6 +157,7 @@ def mocked_ProjectQuery(where, _fields, _options):
"description": "This is a TC test project",
"jsonInterface": json_interface,
"inputType": "TEXT",
"dataConnections": None,
}
]
elif project_id == "semantic_segmentation":
Expand Down Expand Up @@ -198,6 +201,7 @@ def mocked_ProjectQuery(where, _fields, _options):
"description": "This is a semantic segmentation test project",
"jsonInterface": json_interface,
"inputType": "IMAGE",
"dataConnections": None,
}
]
else:
Expand Down

0 comments on commit 0b434df

Please sign in to comment.