modinfo in the translate toolkit is now a 2-tuple containing the mtime and
[pootle.git] / test_init.py
blob24c8c9cc75281ceb713761874d21065723fd6c57
1 from Pootle import pootle
3 def setup_module(module):
4 """initialize global variables in the module"""
5 parser = pootle.PootleOptionParser()
6 options, args = parser.parse_args(["--servertype=dummy"])
7 module.server = parser.getserver(options)
8 # shortcuts to make tests easier
9 module.potree = module.server.potree