tests/config.py
changeset 22 680631f35d83
child 37 5b0eb4b11940
equal deleted inserted replaced
21:26209e9984b2 22:680631f35d83
       
     1 import sys
       
     2 
       
     3 sys.path.insert(0, '..')
       
     4 
       
     5 
       
     6 class Config(dict):
       
     7     def __init__(self, fname):
       
     8         data = open(fname).read()
       
     9         exec(data, dict(), self)
       
    10