mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Migrate pillar unit tests to pytest
This commit is contained in:
parent
64e0297936
commit
874626e5d7
3 changed files with 1272 additions and 1397 deletions
|
@ -7,7 +7,6 @@ import logging
|
|||
import re
|
||||
import sys
|
||||
|
||||
import salt.loader
|
||||
import salt.utils.event
|
||||
import salt.utils.minion
|
||||
|
||||
|
@ -20,6 +19,8 @@ class Beacon:
|
|||
"""
|
||||
|
||||
def __init__(self, opts, functions):
|
||||
import salt.loader
|
||||
|
||||
self.opts = opts
|
||||
self.functions = functions
|
||||
self.beacons = salt.loader.beacons(opts, functions)
|
||||
|
|
1270
tests/pytests/unit/test_pillar.py
Normal file
1270
tests/pytests/unit/test_pillar.py
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue