You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseHTTPError(f"This table may not exist in CAS. Please include the `table_file` argument in the function call if it doesn't exist. See error {table.json()}")
102
-
eliftable.status_code>=400andtable_file:
106
+
raiseHTTPError(
107
+
f"This table may not exist in CAS. Please include the `table_file` argument in the function call if it doesn't exist. See error {table.json()}"
108
+
)
109
+
eliftable.status_code>=400andtable_file:
103
110
cls._cas_management.upload_file(
104
111
str(table_file), table_name
105
112
) # do I need to add a check if the file doesn't exist or does upload_file take care of that?
# # Test for valid model id, no input mapping, get_table succeeded, and post succeeds
133
-
134
-
# get_table.return_value = RestObj()
135
-
# raise_for_status.return_value = None
136
-
137
-
138
-
139
-
# assert response
140
-
141
-
# Test for invalid model id
142
-
#get_model.return_value = RestObj()
143
-
#with pytest.raises(
144
-
#HTTPError
145
-
#): #test tget_Table since we don't know what the return value is restobj
146
-
#sd.create_score_definition(
147
-
#score_def_name = "test_create_sd",
148
-
#model_id = "12345",
149
-
#table_name = "test_table",
150
-
#)
151
-
#Test for valid and invalid for each
152
-
#Start with testing invalid and realize you can work from the last call to the first because the last call working means the first call must have worked
0 commit comments