aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ascdesc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ascdesc.py')
-rw-r--r--tests/ascdesc.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ascdesc.py b/tests/ascdesc.py
new file mode 100644
index 00000000..6b514f4e
--- /dev/null
+++ b/tests/ascdesc.py
@@ -0,0 +1,11 @@
+import unittest
+import base
+
+class Suite(base.Base):
+ def test_1(self):
+ """Test case 1"""
+ self.start('Ascdesc/main')
+ el = self.xpath('p[1]')
+ self.assertEqual("1; 2; 3;", el.text)
+ el = self.xpath('p[2]')
+ self.assertEqual("3; 2; 1;", el.text)