c812ce0367
* test.py: Changed to assert a particular path in the configuration, factoring out a latent bug where sys.exit was conditionally called without first importing it. Change-Id: Iaf8a029d226777f38004527802494366a89c943d
7 lines
142 B
Python
7 lines
142 B
Python
import ConfigParser
|
|
|
|
cp = ConfigParser.ConfigParser()
|
|
cp.read("planet.ini")
|
|
|
|
assert cp.get('Planet', 'output_dir') == '/srv/planet/openstack'
|