Skip to content

Commit ac2c39f

Browse files
syscordanpyansys-ci-botRobPasMue
authored
test: adding test coverage for modeler, plotting, logger, and parameters (#2108)
Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]>
1 parent 8456fd7 commit ac2c39f

File tree

14 files changed

+167
-1
lines changed

14 files changed

+167
-1
lines changed

doc/changelog.d/2108.test.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adding test coverage for modeler, plotting, logger, and parameters

tests/integration/conftest.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,14 @@ def use_grpc_client_old_backend(modeler: Modeler):
215215

216216
# Code here runs after the test, reverting the state
217217
modeler._grpc_client._backend_version = currentbackend
218+
219+
220+
@pytest.fixture(scope="function")
221+
def disable_active_design_check_true():
222+
import ansys.geometry.core as pyansys_geometry
223+
224+
pyansys_geometry.DISABLE_ACTIVE_DESIGN_CHECK = True
225+
226+
yield
227+
228+
pyansys_geometry.DISABLE_ACTIVE_DESIGN_CHECK = False
67.7 KB
Binary file not shown.
Binary file not shown.
67.5 KB
Binary file not shown.
68.2 KB
Binary file not shown.
50.6 KB
Binary file not shown.
47.4 KB
Binary file not shown.
106 KB
Binary file not shown.
50.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)