Although these lines are tested:
|
verbosity = config.getint('extras', 'verbosity', fallback=default_verbosity) |
|
pretty = config.getboolean('extras', 'pretty', fallback=default_pretty) |
|
input_url = config.get('files', 'url', fallback=default_url) |
|
input_file = config.get('files', 'file', fallback=default_file) |
|
output_file_text = config.get('files', 'text', fallback=default_text) |
|
output_file_geojson = config.get('files', 'geojson', fallback=default_geojson) |
|
output_file_kml = config.get('files', 'kml', fallback=default_kml) |
|
output_file_csv = config.get('files', 'csv', fallback=default_csv) |
...it's actually only the fallback values that are used.
Some tests should be added that read the default configuration file, run the script then check the output.
Although these lines are tested:
ArchMap/archmap.py
Lines 360 to 367 in 202aff5
...it's actually only the fallback values that are used.
Some tests should be added that read the default configuration file, run the script then check the output.