Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

hemamaps / django-crispy-forms   python

Repository URL to install this package:

Version: 1.6.0 

/ tests / __pycache__ / test_layout.cpython-27-PYTEST.pyc

ó
ûÖU~Fc@s‚ddlmZddlZddljjZddlZddlm	Z	ddl
mZddlm
Z
mZddlmZddlmZddlmZmZddlZdd	lmZdd
lmZddlmZdd
lmZm Z m!Z!ddl	m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(ddl)m*Z*ddl+m,Z,ddl-m.Z.ddl/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8ddl9m:Z:d„Z;d„Z<d„Z=d„Z>d„Z?d„Z@d„ZAd„ZBd„ZCd„ZDd„ZEd„ZFd „ZGd!„ZHd"„ZId#„ZJed$„ƒZKed%„ƒZLe!d&„ƒZMe d'„ƒZNdS((iÿÿÿÿ(tunicode_literalsN(tforms(treverse(tformset_factorytmodelformset_factory(t_get_new_csrf_key(trender_to_response(tContexttRequestContext(tRequestFactory(t
ugettext_lazyi(tget_template_from_string(t
only_uni_formtonly_bootstrap3tonly_bootstrap(tTestFormt	TestForm2t	TestForm3tCheckboxesTestFormt	TestForm4tCrispyTestModelt	TestForm5(tInlineCheckboxes(tPY2(t
FormHelper(	tLayouttFieldsett
MultiFieldtRowtColumntHTMLtButtonHoldertDivtSubmit(trender_crispy_formcCsutƒ}|jtdƒƒtdƒ}titƒd6|d6ƒ}t|_tj	t
ƒ|j|ƒWdQXdS(NuespañauP
        {% load crispy_forms_tags %}
        {% crispy form form_helper %}
    uformuform_helper(Rt
add_layoutRRRRtFalsetCRISPY_FAIL_SILENTLYtpytesttraisest	Exceptiontrender(tsettingstform_helperttemplatetc((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_invalid_unicode_characters"s	
		csdtjf‡fd†ƒY‰trKtjtƒtˆƒƒWdQXnÆtˆƒƒ}d}||k}|stjd|fd
||fƒitj	|ƒd6dt
jƒksÄtj|ƒrÓtj	|ƒndd6}di|d6}t
tj|ƒƒ‚nd}}dS(NtUnicodeFormcs/eZ‡fd†ZeƒZedƒe_RS(cs0tˆ|ƒj||Žtjƒ|jd<dS(Nucontraseña(tsupert__init__Rt	CharFieldtfields(tselftargstkwargs(R/(s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyR17sucontraseña(t__name__t
__module__R1RthelperRtlayout((R/(s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyR/6s	uid="id_contraseña"tins%(py1)s in %(py3)stpy1thtmltpy3tsassert %(py5)stpy5(R;(s%(py1)s in %(py3)ssassert %(py5)s(RtFormRR&R'R(R"t
@pytest_art_call_reprcomparet	_safereprt@py_builtinstlocalst_should_repr_global_nametAssertionErrort_format_explanationtNone(R=t@py_assert0t@py_assert2t@py_format4t@py_format6((R/s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_unicode_form_field5slc
Cs1dtfd„ƒY}|ƒ}|jd=tƒ}tdƒ|_tdƒ}ti|d6|d6ƒ}|j|ƒ}d}||k}|s#tj	d|fd||fƒitj
|ƒd
6dtjƒksàtj
|ƒrïtj
|ƒndd6}di|d6}	ttj|	ƒƒ‚nd}}dS(NtFormWithMetacBseZddd„ƒYZRS(tMetacBseZdZRS(uemailu
first_nameu	last_name(uemailu
first_nameu	last_name(R7R8R3(((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyRQHs((R7R8RQ(((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyRPGsuemailu
first_nameuP
        {% load crispy_forms_tags %}
        {% crispy form form_helper %}
    uformuform_helpersnot ins%(py1)s not in %(py3)sR<R=R>R?sassert %(py5)sR@(snot in(s%(py1)s not in %(py3)ssassert %(py5)s(RR3RRR:RRR)RBRCRDRERFRGRHRIRJ(
RPtformR+R,R-R=RKRLRMRN((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt*test_meta_extra_fields_with_missing_fieldsFs"	
		lcCsutƒ}|jtdƒƒtdƒ}titƒd6|d6ƒ}t|_tj	t
ƒ|j|ƒWdQXdS(NutypouP
        {% load crispy_forms_tags %}
        {% crispy form form_helper %}
    uformuform_helper(RR#RRRRR$R%R&R'R(R)(R*R+R,R-((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_layout_unresolved_field]s	
		cCsxtƒ}|jtddƒƒtdƒ}titƒd6|d6ƒ}t|_tj	t
ƒ|j|ƒWdQXdS(Nu
is_companyuP
        {% load crispy_forms_tags %}
        {% crispy form form_helper %}
    uformuform_helper(RR#RRRRR$R%R&R'R(R)(R*R+R,R-((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_double_rendered_fieldos	
		c
Cs€dtjfd„ƒY}|ƒ}tƒ}tdƒ}ti|d6|d6ƒ}|j|ƒ}|j}d}||ƒ}d}	||	k}
|
sXtjd|
fd||	fƒid
t	j
ƒksÕtj|ƒrätj|ƒnd
d6tj|	ƒd6tj|ƒd
6tj|ƒd6tj|ƒd6}di|d6}t
tj|ƒƒ‚nd}}}}
}	|j}d}||ƒ}d}	||	k}
|
sftjd|
fd||	fƒid
t	j
ƒksãtj|ƒròtj|ƒnd
d6tj|	ƒd6tj|ƒd
6tj|ƒd6tj|ƒd6}di|d6}t
tj|ƒƒ‚nd}}}}
}	dS(NtExampleFormcBseZejƒZRS((R7R8RR2tcomment(((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyRVƒsuw
        {% load crispy_forms_tags %}
        {{ form.as_ul }}
        {% crispy form2 %}
        {{ form.as_ul }}
    uformuform2uname="comment"is==sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)sR=tpy0tpy9tpy2tpy4tpy6R?sassert %(py11)stpy11uname="is_company"i(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(RRARRRR)tcountRBRCRERFRGRDRHRIRJ(
RVRRtform2R,R-R=t@py_assert1t@py_assert3t@py_assert5t@py_assert8t@py_assert7t@py_format10t@py_format12((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_context_pollution‚s6				œ	œc
CsRtƒ}|jttddddddddd	d
ƒtddtd
dddddƒtdƒtdƒddƒƒƒtdƒ}titƒd6|d6t	d6dd6ƒ}|j
|ƒ}d}||k}|sltjd7|fd8||fƒitj
|ƒd6dtjƒks)tj|ƒr8tj
|ƒndd 6}d9i|d#6}ttj|ƒƒ‚nd}}d$}||k}|s#tjd:|fd;||fƒitj
|ƒd6dtjƒksàtj|ƒrïtj
|ƒndd 6}d<i|d#6}ttj|ƒƒ‚nd}}d%}||k}|sÚtjd=|fd>||fƒitj
|ƒd6dtjƒks—tj|ƒr¦tj
|ƒndd 6}d?i|d#6}ttj|ƒƒ‚nd}}d&}||k}|s‘tjd@|fdA||fƒitj
|ƒd6dtjƒksNtj|ƒr]tj
|ƒndd 6}dBi|d#6}ttj|ƒƒ‚nd}}d'}||k}|sHtjdC|fdD||fƒitj
|ƒd6dtjƒkstj|ƒrtj
|ƒndd 6}dEi|d#6}ttj|ƒƒ‚nd}}|j}	d(}
|	|
ƒ}d)}||k}
|
sJtjdF|
fdG||fƒidtjƒksÇtj|ƒrÖtj
|ƒndd,6tj
|ƒd-6tj
|	ƒd.6tj
|
ƒd/6tj
|ƒd06}dHi|d26}ttj|ƒƒ‚nd}	}
}}
}|jd3kr)d4}||k}|stjdI|fdJ||fƒitj
|ƒd6dtjƒksÙtj|ƒrètj
|ƒndd 6}dKi|d#6}ttj|ƒƒ‚nd}}n·d5}||k}|sÖtjdL|fdM||fƒitj
|ƒd6dtjƒks“tj|ƒr¢tj
|ƒndd 6}dNi|d#6}ttj|ƒƒ‚nd}}d}||k}|stjdO|fdP||fƒitj
|ƒd6dtjƒksJtj|ƒrYtj
|ƒndd 6}dQi|d#6}ttj|ƒƒ‚nd}}d6}||k}|sDtjdR|fdS||fƒitj
|ƒd6dtjƒkstj|ƒrtj
|ƒndd 6}dTi|d#6}ttj|ƒƒ‚nd}}dS(UNuCompany Datau
is_companytcss_idufieldset_company_datat	css_classu	fieldsetsttitleufieldset_titlet
test_fieldsetu123u	User Datauemailu	password1u	password2u
row_passwordsurowsu'<a href="#" id="testLink">test link</a>uK
                    {% if flag %}{{ message }}{% endif %}
                u
first_nameu	last_nameuP
        {% load crispy_forms_tags %}
        {% crispy form form_helper %}
    uformuform_helperuflaguHello!umessageuid="fieldset_company_data"R;s%(py1)s in %(py3)sR<R=R>R?sassert %(py5)sR@uclass="fieldsetsutitle="fieldset_title"utest-fieldset="123"uid="row_passwords"u<labelis==sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)sRXRYRZR[R\sassert %(py11)sR]uuni_formuclass="formRow rows"uclass="row rows"utestLink(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(RR#RRRRRRRtTrueR)RBRCRDRERFRGRHRIRJR^tCRISPY_TEMPLATE_PACK(R*R+R,R-R=RKRLRMRNR`RaRbRcRdReRf((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt5test_layout_fieldset_row_html_with_unicode_fieldnames–sÒ		
	

l
l
l
l
l
	œl
l
l
lc	
Cs]tdƒ}tƒ}tƒ}|jttdddddddƒtd	d
ddƒƒƒ|jd=|jjdjd
=t	i|d6|d6ƒ}|j
|ƒ}d}||k}|sOtjd|fd||fƒitj
|ƒd6dtjƒkstj|ƒrtj
|ƒndd6}di|d6}ttj|ƒƒ‚nd}}dS(NuP
        {% load crispy_forms_tags %}
        {% crispy form form_helper %}
    uCompany Datau
is_companyuemailu	password1u	password2Rhumultifield_infou
first_nameu	last_nameucolumn_nameiiuformuform_helpersnot ins%(py1)s not in %(py3)sR<R=R>R?sassert %(py5)sR@(snot in(s%(py1)s not in %(py3)ssassert %(py5)s(RRRR#RRRR3R:RR)RBRCRDRERFRGRHRIRJ(	R,RRR+R-R=RKRLRMRN((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt+test_change_layout_dynamically_delete_fieldÐs8			

lc	CsLttddƒ}|ƒ}tƒ}d|_d|_d|_d|_ttddd	ƒt	d
ƒt
ddƒtd
ddƒƒ|_td|d|dit
ƒd6ƒ}d}tjdDkrî|j}d}||ƒ}d}	||	k}
|
s¹tjdE|
fdF||	fƒidtjƒks6tj|ƒrEtj|ƒndd6tj|	ƒd6tj|ƒd6tj|ƒd6tj|ƒd6}dGi|d"6}ttj|ƒƒ‚nd}}}}
}	|j}d#}||ƒ}d}	||	k}
|
sÇtjdH|
fdI||	fƒidtjƒksDtj|ƒrStj|ƒndd6tj|	ƒd6tj|ƒd6tj|ƒd6tj|ƒd6}dJi|d"6}ttj|ƒƒ‚nd}}}}
}	|j}d$}||ƒ}d}	||	k}
|
sÕtjdK|
fdL||	fƒidtjƒksRtj|ƒratj|ƒndd6tj|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ttj|ƒƒ‚nd}}d8}||k}|sðtjdf|fdg||fƒitj|ƒd46dtjƒks­tj|ƒr¼tj|ƒndd56}dhi|d76}ttj|ƒƒ‚nd}}d9}||k}|s§
tjdi|fdj||fƒitj|ƒd46dtjƒksd
tj|ƒrs
tj|ƒndd56}dki|d76}ttj|ƒƒ‚nd}}d:}d}t|ƒ}||}
|
|k}	|	sÑtjdl|	fdm|
|fƒitj|ƒd46d<tjƒks7tjtƒrFtjtƒnd<d6tj|ƒd6tj|ƒd6dtjƒksŽtj|ƒrtj|ƒndd6}dni|d"6}ttj|ƒƒ‚nd}}}}
}	d=}||k}|s”tjdo|fdp||fƒitj|ƒd46dtjƒksQtj|ƒr`tj|ƒndd56}dqi|d76}ttj|ƒƒ‚nd}}d>}||k}|sKtjdr|fds||fƒitj|ƒd46dtjƒkstj|ƒrtj|ƒndd56}dti|d76}ttj|ƒƒ‚nd}}d?}||k}|stjdu|fdv||fƒitj|ƒd46dtjƒks¿tj|ƒrÎtj|ƒndd56}dwi|d76}ttj|ƒƒ‚nd}}|j}d@}||ƒ}d}	||	k}
|
stjdx|
fdy||	fƒidtjƒkstj|ƒrtj|ƒndd6tj|	ƒd6tj|ƒd6tj|ƒd6tj|ƒd6}dzi|d"6}ttj|ƒƒ‚nd}}}}
}	|jdAkr:|j}dB}||ƒ}d}	||	k}
|
s!tjd{|
fd|||	fƒidtjƒksžtj|ƒr­tj|ƒndd6tj|	ƒd6tj|ƒd6tj|ƒd6tj|ƒd6}d}i|d"6}ttj|ƒƒ‚nd}}}}
}	n|j}dC}||ƒ}d}	||	k}
|
s2tjd~|
fd||	fƒidtjƒks¯tj|ƒr¾tj|ƒndd6tj|	ƒd6tj|ƒd6tj|ƒd6tj|ƒd6}d€i|d"6}ttj|ƒƒ‚nd}}}}
}	dS(NtextraiuthisFormsetRocksuformsets-that-rockuPOSTusimpleActionuItem {{ forloop.counter }}u
is_companyuemailu9{% if forloop.first %}Note for first form only{% endif %}u	password1u	password2uu
first_nameu	last_nameRRR9tcontextu
csrf_tokeniiiuHtype="hidden" name="form-TOTAL_FORMS" value="3" id="id_form-TOTAL_FORMS"s==sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)sR=RXRYRZR[R\R?sassert %(py11)sR]uLtype="hidden" name="form-INITIAL_FORMS" value="0" id="id_form-INITIAL_FORMS"uOtype="hidden" name="form-MAX_NUM_FORMS" value="1000" id="id_form-MAX_NUM_FORMS"uHid="id_form-TOTAL_FORMS" name="form-TOTAL_FORMS" type="hidden" value="3"uLid="id_form-INITIAL_FORMS" name="form-INITIAL_FORMS" type="hidden" value="0"uOid="id_form-MAX_NUM_FORMS" name="form-MAX_NUM_FORMS" type="hidden" value="1000"uMIN_NUM_FORM_COUNTuLid="id_form-MIN_NUM_FORMS" name="form-MIN_NUM_FORMS" type="hidden" value="0"uhiddensK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py8)sthidden_counttpy8sassert %(py10)stpy10u<formu/<input type='hidden' name='csrfmiddlewaretoken'R;s%(py1)s in %(py3)sR<R>sassert %(py5)sR@u
method="post"uid="thisFormsetRocks"uaction="%s"s=(%(py1)s %% %(py6)s
{%(py6)s = %(py2)s(%(py4)s)
}) in %(py9)sRuItem 1uItem 2uItem 3uNote for first form onlyuuni_formuformRowurow(ii(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py8)ssassert %(py10)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s=(%(py1)s %% %(py6)s
{%(py6)s = %(py2)s(%(py4)s)
}) in %(py9)ssassert %(py11)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(RRRtform_idt
form_classtform_methodtform_actionRRRRR:R"RtdjangotVERSIONR^RBRCRERFRGRDRHRIRJthasattrRtformsetsRRm(R*tTestFormSettformsetR9R=RrR`RaRbRcRdReRft@py_format9t@py_format11RKRLRMRN((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_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)sR]uid_form-1-iduid_form-2-idiuHtype="hidden" name="form-TOTAL_FORMS" value="3" id="id_form-TOTAL_FORMS"uLtype="hidden" name="form-INITIAL_FORMS" value="0" id="id_form-INITIAL_FORMS"uOtype="hidden" name="form-MAX_NUM_FORMS" value="1000" id="id_form-MAX_NUM_FORMS"uHid="id_form-TOTAL_FORMS" name="form-TOTAL_FORMS" type="hidden" value="3"uLid="id_form-INITIAL_FORMS" name="form-INITIAL_FORMS" type="hidden" value="0"uOid="id_form-MAX_NUM_FORMS" name="form-MAX_NUM_FORMS" type="hidden" value="1000"uname="form-0-email"uname="form-1-email"uname="form-2-email"uname="form-3-email"iupassword(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(ii(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(RRRtobjectstnoneRRR:R"R^RBRCRERFRGRDRHRIRJRyRz(tCrispyModelFormSetR~R9R=R`RaRbRcRdReRf((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_modelformset_layout?s&		œ	œ	œ	œ	œ	œ	œ	œ	œ	œ	œ	œ	œ	œcCs…tdƒ}tƒ}tƒ}tttdƒƒttdƒddƒƒ|_||_|j	t
i|d6ƒƒ}|j}d}||ƒ}d}||k}|sktj
d|fd||fƒid
tjƒksètj|ƒr÷tj|ƒnd
d6tj|ƒd6tj|ƒd
6tj|ƒd6tj|ƒd6}	di|	d6}
ttj|
ƒƒ‚nd}}}}}dS(NuP
        {% load crispy_forms_tags %}
        {% crispy form form.helper %}
    u	i18n textui18n legendu
first_nameu	last_nameuformis==sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)sR=RXRYRZR[R\R?sassert %(py11)sR](s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(RRRRRt_RR:R9R)RR^RBRCRERFRGRDRHRIRJ(R,RRR+R=R`RaRbRcRdReRf((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt	test_i18nhs,						œcCs8t|_t|_tdidd6ƒ}t|ƒ}d}||k}|sátjd|fd||fƒitj|ƒd6dtj	ƒksžtj
|ƒr­tj|ƒndd	6}di|d6}ttj|ƒƒ‚nd}}|jd
krd}nd}|j}||ƒ}	d}
|	|
k}|s"tjd|fd|	|
fƒidtj	ƒksxtj
|ƒr‡tj|ƒndd6tj|
ƒd6tj|ƒd6dtj	ƒksÏtj
|ƒrÞtj|ƒndd	6tj|	ƒd6}di|d6}
ttj|
ƒƒ‚nd}}	}}
dS(Ntdataièupku
value="1,000"snot ins%(py1)s not in %(py3)sR<R=R>R?sassert %(py5)sR@uuni_formu/> 1000<u>1000is==sK%(py5)s
{%(py5)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py3)s)
} == %(py8)sRXRsRZt
label_textsassert %(py10)sRt(snot in(s%(py1)s not in %(py3)ssassert %(py5)s(s==(sK%(py5)s
{%(py5)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py3)s)
} == %(py8)ssassert %(py10)s(RltUSE_L10NtUSE_THOUSAND_SEPARATORRR"RBRCRDRERFRGRHRIRJRmR^(R*RRR=RKRLRMRNRŠR`t@py_assert4Rdt@py_assert6RR€((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt	test_l10n}s.		l
		ÃcCs0tƒ}|j}|j}|j}dddddddg}||k}|stjd|fd||fƒid
tjƒks“tj|ƒr¢tj	|ƒnd
d6tj	|ƒd6tj	|ƒd
6tj	|ƒd6tj	|ƒd6}di|d6}t
tj|ƒƒ‚nd}}}}}dS(Nu
is_companyuemailu	password1u	password2u
first_nameu	last_nameudatetime_fields==sf%(py6)s
{%(py6)s = %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.helper
}.layout
}.fields
} == %(py9)st	test_formRXRYRZR[R\R?sassert %(py11)sR](s==(sf%(py6)s
{%(py6)s = %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.helper
}.layout
}.fields
} == %(py9)ssassert %(py11)s(
RR9R:R3RBRCRERFRGRDRHRIRJ(RR`RaRbRcRdReRf((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_default_layouts				œcCstƒ}|j}|j}|j}dg}||k}|stjd
|fd||fƒidtjƒkstj|ƒrtj	|ƒndd6tj	|ƒd6tj	|ƒd6tj	|ƒd6tj	|ƒd	6}di|d6}t
tj|ƒƒ‚nd}}}}}dS(Nuemails==sf%(py6)s
{%(py6)s = %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.helper
}.layout
}.fields
} == %(py9)sRRXRYRZR[R\R?sassert %(py11)sR](s==(sf%(py6)s
{%(py6)s = %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.helper
}.layout
}.fields
} == %(py9)ssassert %(py11)s(
RR9R:R3RBRCRERFRGRDRHRIRJ(RR`RaRbRcRdReRf((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_default_layout_two˜s					œcCs¥tƒ}tƒ|_tdƒ|j_t|ƒ}d}||k}|sàtjd
|fd||fƒitj|ƒd6dt	j
ƒkstj|ƒr¬tj|ƒndd6}di|d	6}ttj
|ƒƒ‚nd}}d
}||k}|s—tjd|fd||fƒitj|ƒd6dt	j
ƒksTtj|ƒrctj|ƒndd6}di|d	6}ttj
|ƒƒ‚nd}}dS(NuemailR;s%(py1)s in %(py3)sR<R=R>R?sassert %(py5)sR@upasswordsnot ins%(py1)s not in %(py3)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(snot in(s%(py1)s not in %(py3)ssassert %(py5)s(RRR9RR:R"RBRCRDRERFRGRHRIRJ(RR=RKRLRMRN((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt"test_modelform_layout_without_metas$	l
lcCs
tƒ}tjƒ|jd_tƒ|_tdtdƒƒ|j_	t
|ƒ}d}||k}|sÿtjd|fd||fƒitj
|ƒd6dtjƒks¼tj|ƒrËtj
|ƒndd6}d
i|d
6}ttj|ƒƒ‚nd}}dS(Nuemailu0<span>first span</span> <span>second span</span>R;s%(py1)s in %(py3)sR<R=R>R?sassert %(py5)sR@(R;(s%(py1)s in %(py3)ssassert %(py5)s(RRtTextareaR3twidgetRR9RRR:R"RBRCRDRERFRGRHRIRJ(RR=RKRLRMRN((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt2test_specialspaceless_not_screwing_intended_spaces§s	lcCs’tƒ}|jtttdddddƒƒtddddd	ƒttd
d
ddƒƒtdd
ddddƒƒƒtdƒ}t	it
ƒd6|d6ƒ}|j|ƒ}d}||k}|s^tj
d(|fd)||fƒitj|ƒd6dtjƒkstj|ƒr*tj|ƒndd6}d*i|d6}ttj|ƒƒ‚nd}}d}||k}|stj
d+|fd,||fƒitj|ƒd6dtjƒksÒtj|ƒrátj|ƒndd6}d-i|d6}ttj|ƒƒ‚nd}}d}||k}|sÌtj
d.|fd/||fƒitj|ƒd6dtjƒks‰tj|ƒr˜tj|ƒndd6}d0i|d6}ttj|ƒƒ‚nd}}d}||k}|sƒtj
d1|fd2||fƒitj|ƒd6dtjƒks@tj|ƒrOtj|ƒndd6}d3i|d6}ttj|ƒƒ‚nd}}d}||k}|s:tj
d4|fd5||fƒitj|ƒd6dtjƒks÷tj|ƒrtj|ƒndd6}d6i|d6}ttj|ƒƒ‚nd}}d }||k}|sñtj
d7|fd8||fƒitj|ƒd6dtjƒks®tj|ƒr½tj|ƒndd6}d9i|d6}ttj|ƒƒ‚nd}}d!}||k}|s¨tj
d:|fd;||fƒitj|ƒd6dtjƒksetj|ƒrttj|ƒndd6}d<i|d6}ttj|ƒƒ‚nd}}d"}||k}|s_tj
d=|fd>||fƒitj|ƒd6dtjƒkstj|ƒr+tj|ƒndd6}d?i|d6}ttj|ƒƒ‚nd}}d#}||k}|stj
d@|fdA||fƒitj|ƒd6dtjƒksÓtj|ƒrâtj|ƒndd6}dBi|d6}ttj|ƒƒ‚nd}}d$}||k}|sÍtj
dC|fdD||fƒitj|ƒd6dtjƒksŠtj|ƒr™tj|ƒndd6}dEi|d6}ttj|ƒƒ‚nd}}d%}||k}|s„tj
dF|fdG||fƒitj|ƒd6dtjƒksAtj|ƒrPtj|ƒndd6}dHi|d6}ttj|ƒƒ‚nd}}dS(INuSome company datau
is_companyuemailRhumultifield_infou
first_nameucolumn_nameRiucolumnsuSaveubutton whiteu	password1u	password2u
custom-divu
customdivsu\
            {% load crispy_forms_tags %}
            {% crispy form form_helper %}
        uformuform_helperu
multiFieldR;s%(py1)s in %(py3)sR<R=R>R?sassert %(py5)sR@u
formColumnuid="multifield_info"uid="column_name"uclass="formColumn columns"uclass="buttonHolder">uinput type="submit"uname="Save"uid="custom-div"uclass="customdivs"u	last_namesnot ins%(py1)s not in %(py3)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(snot in(s%(py1)s not in %(py3)ssassert %(py5)s(RR#RRRRR!R RRRR)RBRCRDRERFRGRHRIRJ(R+R,R-R=RKRLRMRN((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_layout_composition´sÊ		
	l
l
l
l
l
l
l
l
l
l
lcCsxtƒ}|jttddddddddd	ƒtd
dddd
dƒttddd
dddddƒtddƒƒtddddd
ddd	ƒƒƒtdƒ}t	it
ƒd6|d6dd 6ƒ}|j|ƒ}d!}||k}|sŒtj
d;|fd<||fƒitj|ƒd$6d%tjƒksItj|ƒrXtj|ƒnd%d&6}d=i|d)6}ttj|ƒƒ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s×
tj
db|fdc||fƒitj|ƒd$6d%tjƒks”
tj|ƒr£
tj|ƒnd%d&6}ddi|d)6}ttj|ƒƒ‚nd}}d6}||k}|sŽtj
de|fdf||fƒitj|ƒd$6d%tjƒksKtj|ƒrZtj|ƒnd%d&6}dgi|d)6}ttj|ƒƒ‚nd}}d7}||k}|sEtj
dh|fdi||fƒitj|ƒd$6d%tjƒkstj|ƒrtj|ƒnd%d&6}dji|d)6}ttj|ƒƒ‚nd}}d8}||k}|sütj
dk|fdl||fƒitj|ƒd$6d%tjƒks¹tj|ƒrÈtj|ƒnd%d&6}dmi|d)6}ttj|ƒƒ‚nd}}d9}||k}|s³
tj
dn|fdo||fƒitj|ƒd$6d%tjƒksp
tj|ƒr
tj|ƒnd%d&6}dpi|d)6}ttj|ƒƒ‚nd}}d:}||k}|sjtj
dq|fdr||fƒitj|ƒd$6d%tjƒks'tj|ƒr6tj|ƒnd%d&6}dsi|d)6}ttj|ƒƒ‚nd}}dS(tNuSome company datau
is_companyuemailRhumultifield_infoRjumultifield_titletmultifield_testu123u
first_nameu	last_nameucolumn_nameRiucolumnsuSave the worldu{{ value_var }}ubutton whitetdata_idutestt	data_nameustoreu
Store resultsu	password1u	password2u
custom-divu
customdivsttest_markupu\
            {% load crispy_forms_tags %}
            {% crispy form form_helper %}
        uformuform_helperuSaveu	value_varu
multiFieldR;s%(py1)s in %(py3)sR<R=R>R?sassert %(py5)sR@u
formColumnuid="multifield_info"utitle="multifield_title"umultifield-test="123"uid="column_name"uclass="formColumn columns"uclass="buttonHolder">uinput type="submit"udata-id="test"udata-name="test"uname="save-the-world"uvalue="Save"uname="store"uvalue="Store results"uid="custom-div"uclass="customdivs"utest-markup="123"(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(R;(s%(py1)s in %(py3)ssassert %(py5)s(RR#RRRRR!R RRRR)RBRCRDRERFRGRHRIRJ(R+R,R-R=RKRLRMRN((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt<test_second_layout_multifield_column_buttonholder_submit_divçsB	
	$l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
lcCsîtƒ}tƒ|_tdtdƒdƒ|j_tƒ}|jdƒ}t|i|d6ƒ}t	d|ƒ}|j
dkr­|j}|j}d}||ƒ}	d	}
|	|
k}|st
jd|fd|	|
fƒit
j|	ƒd6d
tjƒks
t
j|ƒrt
j|ƒnd
d6t
j|ƒd6t
j|
ƒd6t
j|ƒd6t
j|ƒd6}di|d6}
tt
j|
ƒƒ‚nd}}}}	}}
n=|j
dkrê|j}|j}d}||ƒ}	d	}
|	|
k}|sÍt
jd|fd|	|
fƒit
j|	ƒd6d
tjƒksJt
j|ƒrYt
j|ƒnd
d6t
j|ƒd6t
j|
ƒd6t
j|ƒd6t
j|ƒd6}di|d6}
tt
j|
ƒƒ‚nd}}}}	}}
ndS(Nu
checkboxesualphacheckboxesunumeric_multiple_checkboxesu/uformucrispy_render_template.htmlu	bootstrapscheckbox inlineis==si%(py8)s
{%(py8)s = %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.content
}.count
}(%(py6)s)
} == %(py11)sRstresponseRXRZR]R[R\R?sassert %(py13)stpy13u
bootstrap3scheckbox-inline(s==(si%(py8)s
{%(py8)s = %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.content
}.count
}(%(py6)s)
} == %(py11)ssassert %(py13)s(s==(si%(py8)s
{%(py8)s = %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.content
}.count
}(%(py6)s)
} == %(py11)ssassert %(py13)s(RRR9RRR:R	tgetRRRmtcontentR^RBRCRDRERFRGRHRIRJ(R*RRtrequest_factorytrequestRqRR`RaRbRdt@py_assert10t@py_assert9Rft@py_format14((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt test_keepcontext_context_manager$sD					¬		¬c	Cs©tƒ}tƒ|_d|j_d|j_tdddƒ|j_t|ƒ}|j}d}||ƒ}d}||k}|sIt	j
d|fd||fƒid
tjƒksÆt	j
|ƒrÕt	j|ƒnd
d6t	j|ƒd6t	j|ƒd
6t	j|ƒd6t	j|ƒd6}di|d6}tt	j|ƒƒ‚nd}}}}}|j}d}||ƒ}d}||k}|sWt	j
d|fd||fƒid
tjƒksÔt	j
|ƒrãt	j|ƒnd
d6t	j|ƒd6t	j|ƒd
6t	j|ƒd6t	j|ƒd6}di|d6}tt	j|ƒƒ‚nd}}}}}|j}d}||ƒ}d}||k}|set	j
d|fd ||fƒid
tjƒksât	j
|ƒrñt	j|ƒnd
d6t	j|ƒd6t	j|ƒd
6t	j|ƒd6t	j|ƒd6}d!i|d6}tt	j|ƒƒ‚nd}}}}}|j}d}||ƒ}d}||k}|sst	j
d"|fd#||fƒid
tjƒksðt	j
|ƒrÿt	j|ƒnd
d6t	j|ƒd6t	j|ƒd
6t	j|ƒd6t	j|ƒd6}d$i|d6}tt	j|ƒƒ‚nd}}}}}|j}d}||ƒ}d}||k}|st	j
d%|fd&||fƒid
tjƒksþt	j
|ƒr
t	j|ƒnd
d6t	j|ƒd6t	j|ƒd
6t	j|ƒd6t	j|ƒd6}d'i|d6}tt	j|ƒƒ‚nd}}}}}|j}d}||ƒ}d}||k}|st	j
d(|fd)||fƒid
tjƒkst	j
|ƒrt	j|ƒnd
d6t	j|ƒd6t	j|ƒd
6t	j|ƒd6t	j|ƒd6}d*i|d6}tt	j|ƒƒ‚nd}}}}}dS(+Nuform-inlineu#bootstrap3/layout/inline_field.htmluemailu	password1u	last_nameuclass="form-inline"is==sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)sR=RXRYRZR[R\R?sassert %(py11)sR]uclass="form-group"iu$<label for="id_email" class="sr-onlyu$id="div_id_email" class="form-group"uplaceholder="email"u</label> <input(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(s==(sK%(py6)s
{%(py6)s = %(py2)s
{%(py2)s = %(py0)s.count
}(%(py4)s)
} == %(py9)ssassert %(py11)s(RRR9Rvtfield_templateRR:R"R^RBRCRERFRGRDRHRIRJ(	RRR=R`RaRbRcRdReRf((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyttest_form_inline<sŠ		œ	œ	œ	œ	œ	œ(Ot
__future__Rt__builtin__REt_pytest.assertion.rewritet	assertiontrewriteRBRyRtdjango.core.urlresolversRtdjango.forms.modelsRRtdjango.middleware.csrfRtdjango.shortcutsRtdjango.templateRRR&tdjango.testR	tdjango.utils.translationR
R‡t
compatibilityRtconftestRR
RRRRRRRRtcrispy_forms.bootstrapRtcrispy_forms.compatibilityRtcrispy_forms.helperRtcrispy_forms.layoutRRRRRRRR R!tcrispy_forms.utilsR"R.RORSRTRURgRnRoRR†RˆRR‘R’R“R–R—RœR¦R¨(((s[/Users/carlton/Documents/Django-Stack/django-crispy-forms/crispy_forms/tests/test_layout.pyt<module>sP4@							:	$	K	)					
	
3=