mirror of https://github.com/python/cpython.git
Adding tests of the "attrs" optional argument, and of the js_output
functionality.
This commit is contained in:
parent
f580d27aa3
commit
514a1028a2
|
@ -5,3 +5,18 @@ Set-Cookie: chips=ahoy;
|
|||
chips 'ahoy' 'ahoy'
|
||||
Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
|
||||
keebler 'E=mc2; L="Loves"; fudge=\012;' 'E=mc2; L="Loves"; fudge=\012;'
|
||||
Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!-- begin hiding
|
||||
document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme; Version=1;"
|
||||
// end hiding -->
|
||||
</script>
|
||||
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!-- begin hiding
|
||||
document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme;"
|
||||
// end hiding -->
|
||||
</script>
|
||||
|
||||
|
|
|
@ -24,3 +24,8 @@
|
|||
assert C['Customer'].value == 'WILE_E_COYOTE'
|
||||
assert C['Customer']['version'] == '1'
|
||||
assert C['Customer']['path'] == '/acme'
|
||||
|
||||
print C.output(['path'])
|
||||
print C.js_output()
|
||||
print C.js_output(['path'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue