Skip to content

Commit 9726c4f

Browse files
committed
Enable real test for export id after CoreService update
1 parent 9a87fbb commit 9726c4f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/integration/test_design_import.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ def test_open_file(modeler: Modeler, tmp_path_factory: pytest.TempPathFactory):
226226
)
227227

228228
# requires a change to core service, uncomment on next core service update
229-
# assert base_body.id in [b.id for b in bodies1]
230-
# assert wheel_body.id in [b.id for b in bodies2]
231-
assert base_body.id not in [b.id for b in bodies1]
232-
assert wheel_body.id not in [b.id for b in bodies2]
229+
assert base_body.id in [b.id for b in bodies1]
230+
assert wheel_body.id in [b.id for b in bodies2]
231+
# assert base_body.id not in [b.id for b in bodies1]
232+
# assert wheel_body.id not in [b.id for b in bodies2]
233233

234234
faces = modeler.unsupported.get_face_occurrences_from_import_id(
235235
"3", PersistentIdType.PRIME_ID
@@ -239,10 +239,10 @@ def test_open_file(modeler: Modeler, tmp_path_factory: pytest.TempPathFactory):
239239
)
240240

241241
# requires a change to core service, uncomment on next core service update
242-
# assert base_body.faces[0].id in [f.id for f in faces]
243-
# assert base_body.edges[0].id in [e.id for e in edges]
244-
assert base_body.faces[0].id not in [f.id for f in faces]
245-
assert base_body.edges[0].id not in [e.id for e in edges]
242+
assert base_body.faces[0].id in [f.id for f in faces]
243+
assert base_body.edges[0].id in [e.id for e in edges]
244+
# assert base_body.faces[0].id not in [f.id for f in faces]
245+
# assert base_body.edges[0].id not in [e.id for e in edges]
246246

247247
file = tmp_path_factory.mktemp("test_design_import") / "two_cars.scdocx"
248248
design.download(str(file))

0 commit comments

Comments
 (0)