Skip to content

Commit 6d59d2c

Browse files
committed
[test_ModelicaSystemCmd] use get_model_name() instead of access to private variable _model_name
1 parent 75c1e27 commit 6d59d2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_ModelicaSystemCmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def mscmd_firstorder(model_firstorder):
2929
cmd_local=mod.get_session().model_execution_local,
3030
cmd_windows=mod.get_session().model_execution_windows,
3131
cmd_prefix=mod.get_session().model_execution_prefix(cwd=mod.getWorkDirectory()),
32-
model_name=mod._model_name,
32+
model_name=mod.get_model_name(),
3333
)
3434

3535
return mscmd

0 commit comments

Comments
 (0)