Update monkey-patches to reflect moved code

This commit is contained in:
Jean-Paul Calderone 2020-01-15 15:08:33 -05:00
parent 8a808ba5c6
commit 595295e88d

View File

@ -1346,8 +1346,8 @@ class Stop(unittest.TestCase):
class Start(unittest.TestCase):
@patch('allmydata.scripts.tahoe_daemonize.os.chdir')
@patch('allmydata.scripts.tahoe_daemonize.twistd')
@patch('allmydata.scripts.run_common.os.chdir')
@patch('allmydata.scripts.run_common.twistd')
def test_non_numeric_pid(self, mock_twistd, chdir):
"""
If the pidfile exists but does not contain a numeric value, a complaint to