sushy/sushy/tests/unit/resources/system
Debayan Ray 27c725cbb8 Introduce ``cache_it`` and ``cache_clear``
Right now the nested resource property methods contain a lot of
repetitive code for caching purpose. This utility decorator
``cache_it`` with its complimentary ``cache_clear`` method
attempt to reduce that code bloat.

Change-Id: I7404a15beb029cb282ac6b84bb8b8fdb97ebcd4c
2018-10-22 07:20:19 +00:00
..
storage Introduce ``cache_it`` and ``cache_clear`` 2018-10-22 07:20:19 +00:00
__init__.py Improve unit-tests 2017-02-14 17:52:23 +00:00
test_bios.py Introduce ``cache_it`` and ``cache_clear`` 2018-10-22 07:20:19 +00:00
test_ethernet_interfaces.py Introduce ``cache_it`` and ``cache_clear`` 2018-10-22 07:20:19 +00:00
test_processor.py Introduce ``cache_it`` and ``cache_clear`` 2018-10-22 07:20:19 +00:00
test_simple_storage.py Introduce ``cache_it`` and ``cache_clear`` 2018-10-22 07:20:19 +00:00
test_system.py Introduce ``cache_it`` and ``cache_clear`` 2018-10-22 07:20:19 +00:00