def test_import_auto_max_meshes(): assets_glob = os.path.join(mio.data_dir_path(), '*') assets = list(mio.import_auto(assets_glob, max_meshes=1)) assert(sum([isinstance(x, TriMesh) for x in assets]) == 1)
def test_import_auto(): assets_glob = os.path.join(mio.data_dir_path(), '*') assets = list(mio.import_auto(assets_glob)) assert(len(assets) == 6)