mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-07 13:41:24 +00:00
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.
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