Skip to content

Commit f8b52ba

Browse files
committed
add typetree test
1 parent 86319da commit f8b52ba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎tests/test_main.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ def test_mesh():
5757
data = data.encode('utf8').replace(b'\r', b'')
5858
assert data == wanted
5959

60+
def test_read_typetree():
61+
env = UnityPy.load(SAMPLES)
62+
for obj in env.objects:
63+
obj.read_typetree()
6064

6165
if __name__ == "__main__":
6266
for x in list(locals()):

0 commit comments

Comments
 (0)