summaryrefslogtreecommitdiff
path: root/tests/attrs_escape.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/attrs_escape.py')
-rw-r--r--tests/attrs_escape.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/attrs_escape.py b/tests/attrs_escape.py
new file mode 100644
index 00000000..fc9f91b5
--- /dev/null
+++ b/tests/attrs_escape.py
@@ -0,0 +1,10 @@
+import unittest
+import base
+
+class Suite(base.Base):
+ def test_1(self):
+ """Test case 1"""
+ self.start()
+ el = self.xpath('form/input')
+ val = el.get_attribute('value')
+ self.assertEqual("\"Well hey\"\nWow", val)