import pytest from ..helpers import Suite @pytest.mark.integration_test def test_bytes_length(): code_py = """ @exported def testEntry(f: bytes) -> u32: return len(f) """ result = Suite(code_py).run_code(b'This yet is another test') assert 24 == result.returned_value