mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Revert "adding win_dns_client unit test case"
This commit is contained in:
parent
0418d91175
commit
6a1b02f58b
@ -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