diff --git a/src/ansys/dynamicreporting/core/docker_support.py b/src/ansys/dynamicreporting/core/docker_support.py index a7a9ea1b..9e7d2b5c 100644 --- a/src/ansys/dynamicreporting/core/docker_support.py +++ b/src/ansys/dynamicreporting/core/docker_support.py @@ -384,27 +384,6 @@ def create_nexus_db(self) -> str: nexus_cmd = self._cei_home + "/bin/nexus_launcher create --db_directory /db_directory/ " return self.run_in_container(nexus_cmd) - def save_config(self) -> str: - """ - Run the ``nexus_launcher save_config ...`` command in the Docker container. - - This command runs on the previously specified database directory. - - Returns - ------- - str - Output from the command. - - Raises - ------ - RuntimeError - """ - nexus_cmd = self._cei_home + "/bin/nexus_launcher" - nexus_cmd += " --db_directory /db_directory" - nexus_cmd += " save_config" - ret = self.run_in_container(nexus_cmd) - return ret - def launch_nexus_server( self, username: str, diff --git a/tests/conftest.py b/tests/conftest.py index 51934e87..b6ba19dc 100755 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -89,7 +89,5 @@ def adr_service_query(request, pytestconfig: pytest.Config) -> Service: data_directory=tmp_docker_dir, port=8000 + int(random() * 4000), ) - if not use_local: - tmp_service._container.save_config() tmp_service.start(create_db=False, exit_on_close=True, delete_db=False) return tmp_service