get_facts expected_result
This commit is contained in:
parent
f9e023954e
commit
1a6d881450
|
|
@ -54,7 +54,6 @@ class FakeVyOSDevice(BaseTestDouble):
|
|||
|
||||
def send_command(self, command, **kwargs):
|
||||
filename = '{}.text'.format(self.sanitize_text(command))
|
||||
print filename
|
||||
full_path = self.find_file(filename)
|
||||
result = self.read_txt_file(full_path)
|
||||
return py23_compat.text_type(result)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"os_version": "1.1.7", "uptime": "...", "interface_list": ["eth1", "eth0", "lo"], "vendor": "VyOS", "serial_number": "0", "model": "VirtualBox", "hostname": "vyos2", "fqdn": ""}
|
||||
{"os_version": "1.1.7", "uptime": "...", "interface_list": "...", "vendor": "VyOS", "serial_number": "0", "model": "VirtualBox", "hostname": "vyos2", "fqdn": ""}
|
||||
|
|
|
|||
Loading…
Reference in New Issue