tests/config.py
author Radek Brich <radek.brich@devl.cz>
Tue, 05 Mar 2013 11:27:34 +0100
changeset 72 539c2dd47f3b
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Update browser tool to work with current Tuikit. Add RPM's BuildRequires to setup.cfg.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22
680631f35d83 Add test for PgManager.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
class Config(dict):
680631f35d83 Add test for PgManager.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
    def __init__(self, fname):
37
Radek Brich <radek.brich@devl.cz>
parents: 22
diff changeset
     3
        with open(fname) as f:
Radek Brich <radek.brich@devl.cz>
parents: 22
diff changeset
     4
            data = f.read()
22
680631f35d83 Add test for PgManager.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
        exec(data, dict(), self)
680631f35d83 Add test for PgManager.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6