Merge pull request #48726 from dwoz/syslogtest

Skip test when syslog not available
This commit is contained in:
Daniel Wozniak 2018-07-24 09:12:44 -07:00 committed by GitHub
commit 04ab17a4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ class SyslogReturnerTestCase(TestCase, LoaderModuleMockMixin):
def setup_loader_modules(self):
return {syslog: {}}
@skipIf(not syslog.HAS_SYSLOG, 'Skip when syslog not installed')
def test_syslog_returner_unicode(self):
'''
test syslog returner with unicode