Merge "Fix compat with Python >= 3.6"
This commit is contained in:
commit
6b49fc1fab
@ -61,6 +61,7 @@ class KeepalivedLvsTestCase(base.TestCase):
|
|||||||
m_check_output, mget_pid,
|
m_check_output, mget_pid,
|
||||||
m_init_sys):
|
m_init_sys):
|
||||||
m_exist.return_value = True
|
m_exist.return_value = True
|
||||||
|
mget_pid.return_value = '0'
|
||||||
self.assertRaises(
|
self.assertRaises(
|
||||||
util.UnknownInitError, self.test_keepalivedlvs.delete_udp_listener,
|
util.UnknownInitError, self.test_keepalivedlvs.delete_udp_listener,
|
||||||
self.FAKE_ID)
|
self.FAKE_ID)
|
||||||
|
Loading…
Reference in New Issue
Block a user