summaryrefslogtreecommitdiff
path: root/tests/cdataL.py
blob: 67ccd75e5dec45dd584cb8e6cd7c632502141a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import unittest
import base

class Suite(base.Base):
    def test_1(self):
        """Test case 1"""
        self.start('main')
        l1 = self.xpath('li[1]/a')
        l1.click()

        self.assertEqual("<Hi.", self.body_text())
    def test_2(self):
        """Test case 2"""
        self.start('main')
        l1 = self.xpath('li[2]/a')
        l1.click()

        self.assertEqual("Bye.", self.body_text())