Fix sanitized_test, Add str return to candidate
Change the expected results of sanitized test. If candidate config is None return empty string
This commit is contained in:
parent
d970ad22c9
commit
1200cf4328
|
|
@ -941,7 +941,7 @@ class VyOSDriver(NetworkDriver):
|
|||
if retrieve in ["startup", "all"]:
|
||||
config_dict['startup'] = self.device.send_command(f"cat {self._BOOT_FILENAME}")
|
||||
if retrieve in ["candidate", "all"]:
|
||||
config_dict['candidate'] = self._new_config
|
||||
config_dict['candidate'] = self._new_config or ""
|
||||
|
||||
return config_dict
|
||||
|
||||
|
|
|
|||
|
|
@ -122,3 +122,4 @@ system {
|
|||
}
|
||||
time-zone UTC
|
||||
}
|
||||
[edit]
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue