aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/attrs_escape.py
diff options
context:
space:
mode:
authorGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-05-08 16:03:24 +0600
committerGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-05-08 16:03:24 +0600
commitc293746d4c34ccb7abb8af41f7d05940aa7e4076 (patch)
tree052e8bf308ba2e2f8de626ec1426f9a3841728a3 /tests/attrs_escape.py
parente1ae0ce918c234cbb0b5a6ee72e0443bd04d4127 (diff)
Adding Selenium-based checking to tests.
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)