Package web :: Package tests :: Module testconfig
[hide private]
[frames] | no frames]

Source Code for Module web.tests.testconfig

 1  import os 
 2   
 3  # file imported by config.py when it's in test mode 
 4   
 5  DB = 'sqlite:///database.sqlite' 
 6  testdir = os.path.abspath(os.path.dirname(__file__)) 
 7   
 8  # SSL configuration 
 9  key_file = os.path.join(testdir, 'ssl', 'localhost.key') 
10  cert_file = os.path.join(testdir, 'ssl', 'localhost.pem') 
11  ca_cert = os.path.join(testdir, 'ssl', 'ca-cert.pem') 
12