One more known to return None

This commit is contained in:
Pedro Algarvio 2019-01-18 17:46:55 +00:00
parent eb5fd3ece2
commit 951df4882e
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -801,7 +801,10 @@ class ModuleCase(TestCase, SaltClientTestCaseMixin):
behavior of the raw function call
'''
known_to_return_none = (
'file.chown', 'file.chgrp', 'ssh.recv_known_host_entries'
'file.chown',
'file.chgrp',
'ssh.recv_known_host_entries',
'pkg.refresh_db' # At least on CentOS
)
if minion_tgt == 'sub_minion':
known_to_return_none += ('mine.update',)