def METHOD_NAME(self):
    if APITest.aptly_server is None:
        super(APITest, self).METHOD_NAME()
        configPath = os.path.join(os.environ["HOME"], self.aptlyConfigFile)
        APITest.aptly_server = self._start_process(f"aptly api serve -no-lock -config={configPath} -listen={self.base_url}",)
        time.sleep(1)
    if os.path.exists(os.path.join(os.environ["HOME"], self.aptlyDir, "upload")):
        shutil.rmtree(os.path.join(os.environ["HOME"], self.aptlyDir, "upload"))