mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-13 03:34:45 +02:00
Fix sanity failures (#43)
* Fix sanity failures. * Add changelog fragment.
This commit is contained in:
parent
bd113788ef
commit
a88f4c804b
3 changed files with 4 additions and 2 deletions
|
@ -43,7 +43,7 @@ class TestRouterosFactsModule(TestRouterosModule):
|
|||
output = list()
|
||||
|
||||
for command in commands:
|
||||
filename = str(command).split(' | ')[0].replace(' ', '_')
|
||||
filename = str(command).split(' | ', 1)[0].replace(' ', '_')
|
||||
output.append(load_fixture('facts%s' % filename))
|
||||
return output
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue