mirror of
https://github.com/napalm-automation-community/napalm-vyos.git
synced 2026-03-07 13:54:50 +00:00
get_facts expected_result
This commit is contained in:
@@ -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": ""}
|
||||
|
||||
Reference in New Issue
Block a user