def test_inline_css_resources(self) -> None: r = resources.CSSResources(mode="inline") assert r.mode == "inline" assert r.dev is False assert len(r.css_raw) == 0 assert hasattr(r, "js_raw") is False assert r.messages == []
def test_inline_css_resources(): r = resources.CSSResources(mode="inline") assert r.mode == "inline" assert r.dev is False assert len(r.css_raw) == 3 assert hasattr(r, 'js_raw') is False assert r.messages == []
def test_css_resources_default_mode_is_cdn(self) -> None: r = resources.CSSResources() assert r.mode == "cdn"
def test_css_resources_default_mode_is_inline(): r = resources.CSSResources() assert r.mode == "inline"