def METHOD_NAME(self):
    w = IntText(4)
    code = embed_snippet(w)
     # 1 is from the require
    assert len(re.findall(' crossorigin', code)) > 1
    f = StringIO()
    embed_minimal_html(f, w)
    assert len(re.findall(' crossorigin', f.getvalue())) > 1
    code = embed_snippet(w, cors=False, requirejs=False)
    assert ' crossorigin' not in code
    f = StringIO()
    embed_minimal_html(f, w, cors=False, requirejs=False)
    assert ' crossorigin' not in f.getvalue()
    code = embed_snippet(w, cors=False, requirejs=True)
    assert len(re.findall(' crossorigin', code)) == 1 # 1 is from the require, which is ok
    f = StringIO()
    embed_minimal_html(f, w, cors=False, requirejs=True)
    assert len(re.findall(' crossorigin', f.getvalue())) == 1 # 1 is from the require, which is ok