changed the mock data naming of files
This commit is contained in:
1 parent
361fa6759a
commit
c2e4fd3b7c
8 files changed
+1
-1
No files matched your search
@@ -58,7 +58,7 @@ class FakeFortiOSDevice:
|
|||||||
return data_file.read().splitlines()
|
return data_file.read().splitlines()
|
||||||
|
|
||||||
def execute_command(self, command):
|
def execute_command(self, command):
|
||||||
return self.read_txt_file('fortios/mock_data/{}.txt'.format(command.replace(' ', '_')))
|
return self.read_txt_file('fortios/mock_data/{}.txt'.format(command.replace(' ', '_').replace('|', '')))
|
||||||
|
|
||||||
def load_config(self, config_block):
|
def load_config(self, config_block):
|
||||||
self.running_config = FortiConfig('running')
|
self.running_config = FortiConfig('running')
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user