1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-07 13:41:24 +00:00
Marc Bonnici 214d04eb8d Decorators: Added initial version of decorators and execution control
Added 3 decorators to enabled methods to be executed conditionally:
- Once for each method instance.
- Once for each class.
- Only once per environment including any derived classes.
Added execution control allowing for different environments to
be used in order to determine how often decorated commands should be ran.
Added relevant unittests for the above decorators.
2016-11-30 10:42:14 +00:00
..
2016-09-27 11:20:11 +01:00
2016-09-27 11:20:11 +01:00
2016-09-27 11:38:35 +01:00
2016-09-27 11:20:11 +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