Skip to content

Commit

Permalink
Update tests to account for addition of USDZ export.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Sep 20, 2024
1 parent a788aae commit 8d95d33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion glue_ar/common/tests/test_base_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_default_state(self):
assert state.layer == "Volume Data"
assert state.method in {"Isosurface", "Voxel"}

assert state.filetype_helper.choices == ['glB', 'glTF', 'USDC', 'USDA']
assert state.filetype_helper.choices == ['glB', 'glTF', 'USDZ', 'USDC', 'USDA']
assert state.compression_helper.choices == ['None', 'Draco', 'Meshoptimizer']
assert state.layer_helper.choices == ["Volume Data", "Scatter Data"]
assert set(state.method_helper.choices) == {"Isosurface", "Voxel"}
Expand Down
5 changes: 3 additions & 2 deletions glue_ar/jupyter/tests/test_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ def test_default_ui(self):
assert self.dialog.filetype_items == [
{"text": "glB", "value": 0},
{"text": "glTF", "value": 1},
{"text": "USDC", "value": 2},
{"text": "USDA", "value": 3}
{"text": "USDZ", "value": 2},
{"text": "USDC", "value": 3},
{"text": "USDA", "value": 4},
]
assert self.dialog.filetype_selected == 0
assert set([item["text"] for item in self.dialog.method_items]) == {"Isosurface", "Voxel"}
Expand Down

0 comments on commit 8d95d33

Please sign in to comment.