diff --git a/.ci/fluent_test_runner.py b/.ci/fluent_test_runner.py index d345d85766a..35bae66a16f 100644 --- a/.ci/fluent_test_runner.py +++ b/.ci/fluent_test_runner.py @@ -95,14 +95,14 @@ def _run_single_test( stderr = container.logs(stdout=False, stderr=True) if stderr: stderr = stderr.decode() - for line in stderr.split("\n"): + for line in stderr.splitlines(): if line.strip().startswith("Error:"): if "Expected exception" in line: # for check_assert.py container.stop() else: raise FluentRuntimeError(line) sleep(1) - logging.debug(container.logs(stderr=True).decode()) + print(container.logs(stderr=True).decode()) container.remove() except docker.errors.DockerException: pass diff --git a/tests/conftest.py b/tests/conftest.py index 8cdedf34085..d55e3c903dd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -127,7 +127,6 @@ def pytest_collection_finish(session): with open(fluent_test_config, "w") as f: f.write(f"launcher_args: {launcher_args}\n") with open(fluent_test_file, "w") as f: - f.write('cx.get("trace-on")()\n') f.write("import sys\n") f.write('sys.path.append("/testing")\n') f.write( diff --git a/tests/fluent/test_version/test.py b/tests/fluent/test_version/test.py deleted file mode 100644 index 5f9349fcaf1..00000000000 --- a/tests/fluent/test_version/test.py +++ /dev/null @@ -1,2 +0,0 @@ -assert ansys.fluent.core.__version__ == "0.28.dev0" # noqa: F821 -exit()