salt/tests/pytests/functional/modules/test_win_event.py
Twangboy 8660718fa7 Add query function, docs
Add query function that accepts XPath queries
Add docs and CLI examples for all functions
Fix issues with the get_filtered function
2022-10-03 14:00:03 -06:00

15 lines
236 B
Python

import pytest
pytestmark = [
pytest.mark.windows_whitelisted,
]
@pytest.fixture(scope="module")
def win_event(modules):
return modules.win_event
def test_get(win_event):
events = win_event.get()
assert events == {}