summaryrefslogtreecommitdiff
path: root/tests/align.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/align.py')
-rw-r--r--tests/align.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/align.py b/tests/align.py
new file mode 100644
index 00000000..525ab4e6
--- /dev/null
+++ b/tests/align.py
@@ -0,0 +1,11 @@
+import unittest
+import base
+
+class Suite(base.Base):
+ def test_1(self):
+ """Test case 1"""
+ self.start()
+ el = self.xpath('p[@align="left"]')
+ self.assertEqual("Left", el.text)
+ el = self.xpath('p[@align="right"]')
+ self.assertEqual("Right", el.text)