1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 20:34:30 +00:00
Marc Bonnici 9ba30c27df WA Types: Added 'ParameterDict' type.
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.
2017-02-20 16:44:24 +00:00
..
2016-07-21 16:40:26 +01:00
2015-12-09 16:52:39 +00:00
2016-07-21 16:40:26 +01:00
2016-07-21 16:40:26 +01:00
2015-12-09 16:52:39 +00:00
2016-07-21 16:40:26 +01:00
2016-07-21 16:40:26 +01:00

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