]> git.llucax.com Git - software/sercom.git/blob - testtester.py
Bugfix: Comando debe ser Inheritable.
[software/sercom.git] / testtester.py
1 #!/usr/bin/python
2 # vim: set et sw=4 sts=4 encoding=utf-8 foldmethod=marker :
3
4 import turbogears
5 import turbogears.database
6 turbogears.update_config(configfile="dev.cfg", modulename="sercom.config")
7 from sercom.tester import *
8 from sercom import model
9 from Queue import Queue
10
11 queue = Queue()
12
13 queue.put(1)
14 #queue.put(5)
15 queue.put(None)
16
17 tester = Tester(name='pepe', path='var', home=os.path.join('home', 'sercom'),
18     queue=queue)
19
20 tester.run()
21
22 model.hub.rollback()
23 #model.hub.commit()
24
25 #model.hub.begin()
26 #model.Entrega.get(5).correcta = True
27 #model.hub.rollback()
28