code: def setUp(self):
      self.server = MockServer()
      self.temp_output = mkdtemp(prefix="pelicantests.")
      self.old_cwd = os.getcwd()
      os.chdir(self.temp_output)
  
file_path: pelican/pelican/tests/test_server.py
imports: import os
  from io import BytesIO
  from shutil import rmtree
  from tempfile import mkdtemp
  from pelican.server import ComplexHTTPRequestHandler
  from pelican.tests.support import unittest
label_desc: Use image node_id 1 for calling the TestServer obj's underlying member method code with example usage: obj.setUp() without return types