File: __init__.py

package info (click to toggle)
quixote 2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,036 kB
  • ctags: 1,131
  • sloc: python: 5,935; ansic: 1,436; makefile: 87; sh: 23
file content (17 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import qx_testlib
import qx_testserver
import twill

url = None

def setup(package):
    qx_testlib.cd_testdir()
    package.url = qx_testlib.run_server(qx_testserver.create_publisher)
    
def teardown(package):
    qx_testlib.kill_server()
    qx_testlib.pop_testdir()

def test():
    twill.commands.go(url)
    twill.commands.find('hello, world')