Skip to content

Commit 5196f26

Browse files
smereupyansys-ci-botRobPasMueRyanJWardpre-commit-ci[bot]
authored
fix: Internalize document after insert: update test (#2092)
Co-authored-by: PyAnsys CI Bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Co-authored-by: rward <ryan.ward@ansys.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7502957 commit 5196f26

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

doc/changelog.d/2092.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Internalize document after insert: update test

tests/integration/test_design_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def test_design_insert(modeler: Modeler):
324324
assert len(design.components) == 2
325325
assert design.is_active is True
326326
assert design.components[0].name == "Component_Cylinder"
327-
assert design.components[1].name == "DuplicatesDesign"
327+
assert design.components[1].name == "DuplicateFacesDesignBefore"
328328

329329

330330
def test_design_insert_with_import(modeler: Modeler):

tests/test_connection.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,3 @@ def test_get_common_env(
610610
# Assert environment variables are correctly set
611611
for key, value in expected_env.items():
612612
assert env[key] == value
613-
614-
# Assert keys that should not exist in the environment
615-
if not enable_trace:
616-
assert "ENABLE_TRACE" not in env

0 commit comments

Comments
 (0)