Add missing "not" statement: The last syndic test should assertFalse()

This commit is contained in:
rallytime 2016-12-02 16:53:39 -07:00
parent 4e10f8e018
commit eb372b27d8

View file

@ -227,7 +227,7 @@ class DaemonsStarterTestCase(TestCase, integration.SaltClientTestCaseMixIn):
for alg in ['sha224', 'sha256', 'sha384', 'sha512']:
_create_syndic().start()
ret = ret and _logger.last_type is None \
and _logger.last_message
and not _logger.last_message
child_pipe.send(ret)
child_pipe.close()