* regenerate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes and cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-07-31 12:50:30 -07:00
committed by GitHub
parent d678182dcf
commit 4c3f497d73
141 changed files with 1432 additions and 566 deletions

View File

@ -24,6 +24,9 @@ from .models import (
FileMass,
FileVolume,
Pong,
UnitDensity,
UnitMass,
UnitVolume,
User,
)
@ -171,6 +174,8 @@ def test_file_mass():
body=content,
src_format=FileImportFormat.OBJ,
material_density=1.0,
material_density_unit=UnitDensity.KG_M3,
output_unit=UnitMass.G,
)
assert isinstance(result, FileMass)
@ -198,7 +203,10 @@ def test_file_volume():
# Get the fc.
result: Union[FileVolume, Error, None] = create_file_volume.sync(
client=client, body=content, src_format=FileImportFormat.OBJ
client=client,
body=content,
src_format=FileImportFormat.OBJ,
output_unit=UnitVolume.CM3,
)
assert isinstance(result, FileVolume)