Skip to content

Commit

Permalink
Update tests/legacy/system/test_edb.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Morais <[email protected]>
  • Loading branch information
hui-zhou-a and SMoraisAnsys authored Nov 19, 2024
1 parent d94a21f commit cd5d8b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/legacy/system/test_edb.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def test_hfss_mesh_operations(self):

def test_add_variables(self):
"""Add design and project variables."""
result, var_server = self.edbapp.add_design_variable("variable_no_description", "1mm")
assert result
assert var_server
assert self.edbapp.variables["variable_no_description"].description == ""
result, var_server = self.edbapp.add_design_variable("my_variable", "1mm", description="var_1")
assert result
assert var_server
Expand Down

0 comments on commit cd5d8b8

Please sign in to comment.