migrate unit_modules_test_win_service to pytest

This commit is contained in:
Frode Gundersen 2023-04-10 17:05:55 +00:00 committed by Gareth J. Greenaway
parent 19dd3825c6
commit f9326e1cf4

View file

@ -81,7 +81,7 @@ def test_get_community_names_gpo():
assert win_snmp.get_community_names() == {"TestCommunity": "Managed by GPO"}
def test_set_community_names():
def test_set_community_names(community_names):
"""
Test - Manage the SNMP accepted community names and their permissions.
"""
@ -98,7 +98,7 @@ def test_set_community_names():
assert win_snmp.set_community_names(**kwargs)
def test_set_community_names_gpo():
def test_set_community_names_gpo(community_names):
"""
Test - Manage the SNMP accepted community names and their permissions.
"""