-
Notifications
You must be signed in to change notification settings - Fork 886
Description
As pointed out in #332, the testing frameworks' config files use the INI format, which is rather limiting. Perhaps we should switch to JSON - which being essentially the same format as Python lists and dicts, makes it very easy to represent pretty much any key/value pairs to pass in to extensions. This might eliminate the need to the tests/test_extensions.py
file.
Note, this was not done originally because, at the time, we supported older versions of Python which did not have built-in support for JSON. Currently, our lowest supported version of Python is 2.6 -- the version in which the json lib was added to the standard library.
I also considered using just pure python files, but then they would need to be imported, and as they are in dirs with a bunch of test files (not python modules - no __ini__.py
files), that could get complex. While doable, I think JSON is probably an easier lib to work with and more likely to be familiar to future maintainers than importing python files not available on the Python path.