File: python_org.py

package info (click to toggle)
python-webunit 1%3A1.3.10-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 172 kB
  • ctags: 210
  • sloc: python: 1,516; makefile: 15
file content (15 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from webunit.webunittest import WebTestCase
import unittest

class TestPythonOrg(WebTestCase):
    '''Load the front page of www.python.org
    '''
    def test_home(self):
        page = self.page('http://www.python.org')

def suite():
    l = [
         unittest.makeSuite(TestPythonOrg, 'test'),
    ]
    return unittest.TestSuite(l)