code: def test_with_CDN_resources(self) -> None:
      from ext_package_no_main import AModel
  
      model = AModel()
      bundle = beb.bundle_for_objs_and_resources([model], CDN)
      assert len(bundle.js_files) == 1
      assert len(bundle.js_raw) == 2
  
imports: from __future__ import annotations
  import pytest
  from os.path import dirname, join
  from bokeh import models
  from bokeh.core.has_props import _default_resolver
  from bokeh.document import Document
  from bokeh.embed.bundle import URL, extension_dirs
  from bokeh.ext import build
  from bokeh.resources import CDN, INLINE, Resources
  from tests.support.util.env import envset
  import bokeh.embed.bundle
label_desc: Use image node_id 4 for calling the Test_bundle_ext_package_no_main obj's underlying member method code with example usage: obj.test_with_CDN_resources() without return types