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()
|
||||
|
||||
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):
|
||||
self.running_config = FortiConfig('running')
|
||||
|
||||
Reference in new issue
Block a user