get_facts expected_result

This commit is contained in:
Pieprzycki Piotr 2016-12-21 21:50:46 +01:00
parent f9e023954e
commit 1a6d881450
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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": ""}