'Should set âpidfileâ to âNoneâ when âpidfile_pathâ is âNoneâ.'

def test_sets_pidfile_none_when_pidfile_path_is_none(self):

    pidfile_path = None
    self.test_app.pidfile_path = pidfile_path
    expect_pidfile = None
    instance = runner.DaemonRunner(self.test_app)
    self.failUnlessIs(expect_pidfile, instance.pidfile)
