File: test_util.pyc

package info (click to toggle)
python-webob 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,340 kB
  • ctags: 2,468
  • sloc: python: 13,433; makefile: 12
file content (17 lines) | stat: -rw-r--r-- 2,913 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

tSc@s9ddkZddklZdeifdYZdS(iN(tResponsetTest_warn_deprecationcBsSeZdZdZdZddZdZdZdZdZ	RS(	cCs1ddk}|i|_|i|_g|_dS(Ni(twarningstwarntoldwarnt_warn(tselfR((s./home/chrism/projects/webob/tests/test_util.pytsetUpscCs"ddk}|i|_|`dS(Ni(RRR(RR((s./home/chrism/projects/webob/tests/test_util.pyttearDownscCs ddkl}||||S(Ni(twarn_deprecation(t
webob.utilR	(Rttexttversiont
stacklevelR	((s./home/chrism/projects/webob/tests/test_util.pyt_callFUTsicCs|iitdS(N(Rtappendtlocals(RRttypeR
((s./home/chrism/projects/webob/tests/test_util.pyRscCsut}|iid	d
g|it|id|id}|i|dtd|djptdS(Ns
Set-Cookiesa=bsx=yiiRsConsider using .extend()R(s
Set-Cookiesa=b(s
Set-Cookiesx=y(RtheaderstupdatetassertEqualtlenRtUserWarningtAssertionError(Rtrtdeprecation_warning((s./home/chrism/projects/webob/tests/test_util.pyttest_multidict_update_warnings		

cCs9t}|iidg|it|iddS(Ns
Set-Cookiesa=bi(s
Set-Cookiesa=b(RRRRRR(RR((s./home/chrism/projects/webob/tests/test_util.pyt)test_multidict_update_warning_unnecessary#s	cCs7d}ddkl}|it|d|d ddS(Ns1.3.0i(R	tfooii(R
R	tassertRaisestDeprecationWarning(RtvR	((s./home/chrism/projects/webob/tests/test_util.pyttest_warn_deprecation)scCsGd}ddkl}|d|d d|it|iddS(Ns9.9.9i(R	Rii(R
R	RRR(RRR	((s./home/chrism/projects/webob/tests/test_util.pyt$test_warn_deprecation_future_version.s(
t__name__t
__module__RRRRRRR R!(((s./home/chrism/projects/webob/tests/test_util.pyRs						(tunittesttwebob.responseRtTestCaseR(((s./home/chrism/projects/webob/tests/test_util.pyt<module>s