1
0
Fork 0
tuned/tests/unit/profiles
Adriaan Schmidt b863272789 fix: move ownership of Variables from Application to Profile
Currently, there is one global Variables object, as member of the global
Application. When loading profiles, variables are added to it, but never
removed. So when switching profiles, there are still variables present
from the previous profile.
With this commit, the Variables object is now owned by the Profile.
It is created by the profile loader, so that more complex laod scenarios
(multiple profiles, potentially with includes) still only use one Variables
object.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
2026-06-08 13:17:00 +02:00
..
__init__.py Fixed building on RHEL-7/CentOS 7 2020-06-19 11:15:12 +02:00
test_loader.py fix: move ownership of Variables from Application to Profile 2026-06-08 13:17:00 +02:00
test_locator.py Removing dependency on python-configobj. 2021-08-18 10:28:27 +02:00
test_merger.py fix: move ownership of Variables from Application to Profile 2026-06-08 13:17:00 +02:00
test_profile.py fix: move ownership of Variables from Application to Profile 2026-06-08 13:17:00 +02:00
test_unit.py Remove usage of unittest2, use unittest from the standard library 2020-02-25 20:04:51 +01:00
test_variables.py Removing dependency on python-configobj. 2021-08-18 10:28:27 +02:00