mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #22667 from saltstack/revert-22640-win_dns_client-new-unit-test
Revert "adding win_dns_client unit test case"
This commit is contained in:
commit
f39987a877
@ -64,22 +64,6 @@ class Mockwmi(object):
|
||||
self.ipenabled = IPEnabled
|
||||
return [Mockwmi()]
|
||||
|
||||
|
||||
class Mockwinapi(object):
|
||||
'''
|
||||
Mock winapi class
|
||||
'''
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def Com():
|
||||
'''
|
||||
Mock Com method
|
||||
'''
|
||||
return True
|
||||
|
||||
win_dns_client.salt.utils.winapi = Mockwinapi
|
||||
win_dns_client.wmi = Mockwmi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user