get_facts expected_result
This commit is contained in:
1 parent
f9e023954e
commit
1a6d881450
2 files changed
+1
-2
No files matched your search
@@ -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