blob: d9087cbf5402459673afefbc7b103f8e812be87a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import unittest
import base
class Suite(base.Base):
def test_1(self):
"""Test case 1"""
self.start()
p = self.xpath('p[1]')
self.assertEqual('Hello world! & so on, © me today (8 €)', p.text)
p = self.xpath('p[2]')
self.assertEqual('♠ ♣ ♥ ♦', p.text)
p = self.xpath('p[3]')
self.assertEqual('† DANGER †', p.text)
|