mirror of
https://github.com/napalm-automation-community/napalm-vyos.git
synced 2026-09-22 20:21:16 +00:00
get_facts expected_result
This commit is contained in:
@@ -54,7 +54,6 @@ class FakeVyOSDevice(BaseTestDouble):
|
|||||||
|
|
||||||
def send_command(self, command, **kwargs):
|
def send_command(self, command, **kwargs):
|
||||||
filename = '{}.text'.format(self.sanitize_text(command))
|
filename = '{}.text'.format(self.sanitize_text(command))
|
||||||
print filename
|
|
||||||
full_path = self.find_file(filename)
|
full_path = self.find_file(filename)
|
||||||
result = self.read_txt_file(full_path)
|
result = self.read_txt_file(full_path)
|
||||||
return py23_compat.text_type(result)
|
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": ""}
|
||||||
|
|||||||
Reference in New Issue
Block a user