mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
9ba30c27df
A new 'ParameterDict' has been added that automatically encodes and decodes values when they are store in a dictionary. The dictionary uses 2 characters prefixed to each value to store the original type information, e.g. 'fl' -> list of floats, before being passed through a url encoder. The reverse process happens on retrieval. To access the encoded values an `iterEncodedItems` and `getEncodedValue` methods have been added. The appropriate unit tests have also been added.
To run these tests you need to have nose package installed. You can get it from PyPI by using pip: pip install nose Or, if you're on Ubuntu, you can get it from distribution repositories: sudo apt-get install python-nose Once you have it, you can the tests by executing the follwing the project's top-level directory (the one with setup.py): nosetests