'Set up test fixtures.'

def setUp(self):

    self.mock_tracker = scaffold.MockTracker()
    def mock_is_socket(fd):
        if (sys.__stdin__.fileno() == fd):
            result = self.mock_stdin_is_socket_func()
        else:
            result = False
        return result
    self.mock_stdin_is_socket_func = (lambda : False)
    scaffold.mock('daemon.daemon.is_socket', returns_func=mock_is_socket, tracker=self.mock_tracker)
