mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Only load adml data once
This commit is contained in:
parent
bc13be6850
commit
36a24ac28f
1 changed files with 2 additions and 1 deletions
|
@ -708,7 +708,8 @@ class WinLGPOGetPolicyFromPolicyResources(TestCase, LoaderModuleMockMixin):
|
|||
return LOADER_DICTS
|
||||
|
||||
def setUp(self):
|
||||
self.adml_data = win_lgpo._get_policy_resources('en-US')
|
||||
if self.adml_data is None:
|
||||
self.adml_data = win_lgpo._get_policy_resources('en-US')
|
||||
|
||||
def test__getAdmlPresentationRefId(self):
|
||||
ref_id = 'LetAppsAccessAccountInfo_Enum'
|
||||
|
|
Loading…
Add table
Reference in a new issue