Remove tests which no longer apply

The point of these tests originally was to verify the proper location
of a log file. Checking return codes is just spurious and ties the test
too closely with the shutdown behavior of the daemons which are tracked and tested
in other places more closely and with more accuracy.
This commit is contained in:
Mike Place 2016-09-27 16:36:24 +09:00
parent aed98f47de
commit 3a83b0bd16
No known key found for this signature in database
GPG Key ID: 9136F4F13705CFD3
3 changed files with 0 additions and 12 deletions

View File

@ -69,10 +69,6 @@ class MasterTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
pass
try:
self.assertFalse(os.path.isdir(os.path.join(config_dir, 'file:')))
self.assertIn(
'Failed to setup the Syslog logging handler', '\n'.join(ret[1])
)
self.assertEqual(ret[2], 2)
finally:
self.chdir(old_cwd)
if os.path.isdir(config_dir):

View File

@ -66,10 +66,6 @@ class MinionTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
pass
try:
self.assertFalse(os.path.isdir(os.path.join(config_dir, 'file:')))
self.assertIn(
'Failed to setup the Syslog logging handler', '\n'.join(ret[1])
)
self.assertEqual(ret[2], 2)
finally:
self.chdir(old_cwd)
if os.path.isdir(config_dir):

View File

@ -70,10 +70,6 @@ class SyndicTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
pass
try:
self.assertFalse(os.path.isdir(os.path.join(config_dir, 'file:')))
self.assertIn(
'Failed to setup the Syslog logging handler', '\n'.join(ret[1])
)
self.assertEqual(ret[2], 2)
finally:
self.chdir(old_cwd)
if os.path.isdir(config_dir):