mirror of
https://github.com/ARM-software/workload-automation.git
synced 2024-10-06 19:01:15 +01: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. |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
README | ||
test_agenda.py | ||
test_config.py | ||
test_device.py | ||
test_diff.py | ||
test_execution.py | ||
test_extension_loader.py | ||
test_extension.py | ||
test_instrumentation.py | ||
test_results_manager.py | ||
test_utils.py |
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