async def test_small_file_unchanged(self):
        """Test that a small file is returned unchanged."""
        content = "def hello_world():\n    print('Hello, world!')"
        file = CodeFileEntity(
            entity_id=str(uuid.uuid4()),
            breadcrumbs=[],
            source_name="test",
            name="test.py",
            file_id="test123",
            size=len(content),
            path_in_repo="test.py",
            repo_name="test-repo",
            repo_owner="test-owner",
            url="https://example.com/test.py",
            content=content,
            language="python",
        )

        # If the entity is small, it should be returned unchanged
        entity_size = count_tokens(file.model_dump_json())
        if entity_size <= MAX_CHUNK_SIZE - 191:
            result = await code_file_chunker(file)
            assert len(result) == 1
            assert result[0] == file
        else:
            pytest.skip("Test file unexpectedly too large for small file test")
Test that a small file is returned unchanged.
backend/tests/unit/platform/transformers/test_code_file_chunker.py