We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b984d2 commit 0776801Copy full SHA for 0776801
tests/test_routes.py
@@ -168,6 +168,24 @@ def get_full_data():
168
test_utils.test_route_wrong_params(client, route, get_full_data)
169
170
171
+
172
173
174
+def test_texture_coordinates(client):
175
+ response = client.post(
176
+ "/texture_coordinates",
177
+ json={
178
+ "input_geode_object": "PolygonalSurface3D",
179
+ "filename": "hat.vtp",
180
+ },
181
+ )
182
+ assert response.status_code == 200
183
+ texture_coordinates = response.json["texture_coordinates"]
184
+ assert type(texture_coordinates) is list
185
+ for texture_coordinate in texture_coordinates:
186
+ assert type(texture_coordinate) is str
187
188
189
def test_vertex_attribute_names(client):
190
response = client.put(
191
f"/upload_file",
0 commit comments