Fix sanity failures (#43)

* Fix sanity failures.

* Add changelog fragment.
This commit is contained in:
Felix Fontein 2021-08-12 08:53:21 +02:00 committed by GitHub
parent bd113788ef
commit a88f4c804b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

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