'Should raise ValueError when PID file path not a string.'

def test_error_when_pidfile_path_not_string(self):

    pidfile_path = object()
    self.test_app.pidfile_path = pidfile_path
    expect_error = ValueError
    self.failUnlessRaises(expect_error, runner.DaemonRunner, self.test_app)
