Files
Hippolyzer/tests/proxy/test_vfs.py
Salad Dais 75e9d03d70 Move tests out of the package
This will help us get better coverage info, and prevent packaging
test data with the sdist.
2021-05-01 00:34:46 +00:00

13 lines
391 B
Python

import unittest
from hippolyzer.lib.base.datatypes import UUID
from hippolyzer.lib.proxy.vfs import STATIC_VFS
class StaticVFSTest(unittest.TestCase):
def test_basic(self):
# Load the block for the fly anim
block = STATIC_VFS[UUID("aec4610c-757f-bc4e-c092-c6e9caf18daf")]
anim_data = STATIC_VFS.read_block(block)
self.assertEqual(len(anim_data), 1414)