aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/align.py
blob: 525ab4e616f2422b6dc450b5d205d3acb715f94a (plain)
1
2
3
4
5
6
7
8
9
10
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)