Skip to content

Commit

Permalink
FIX: export path (#510)
Browse files Browse the repository at this point in the history
Co-authored-by: ring630 <@gmail.com>
  • Loading branch information
hui-zhou-a authored May 24, 2024
1 parent 4fa8e3e commit b1c69d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/legacy/system/test_edb.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,9 @@ def test_export_to_hfss(self):
edbversion=desktop_version,
)
options_config = {"UNITE_NETS": 1, "LAUNCH_Q3D": 0}
out = edb.write_export3d_option_config_file(self.local_scratch, options_config)
out = edb.write_export3d_option_config_file(self.local_scratch.path, options_config)
assert os.path.exists(out)
out = edb.export_hfss(self.local_scratch)
out = edb.export_hfss(self.local_scratch.path)
assert os.path.exists(out)
edb.close()

Expand All @@ -411,9 +411,9 @@ def test_export_to_q3d(self):
edbversion=desktop_version,
)
options_config = {"UNITE_NETS": 1, "LAUNCH_Q3D": 0}
out = edb.write_export3d_option_config_file(self.local_scratch, options_config)
out = edb.write_export3d_option_config_file(self.local_scratch.path, options_config)
assert os.path.exists(out)
out = edb.export_q3d(self.local_scratch, net_list=["ANALOG_A0", "ANALOG_A1", "ANALOG_A2"], hidden=True)
out = edb.export_q3d(self.local_scratch.path, net_list=["ANALOG_A0", "ANALOG_A1", "ANALOG_A2"], hidden=True)
assert os.path.exists(out)
edb.close()

Expand All @@ -424,9 +424,9 @@ def test_074_export_to_maxwell(self):
edbversion=desktop_version,
)
options_config = {"UNITE_NETS": 1, "LAUNCH_MAXWELL": 0}
out = edb.write_export3d_option_config_file(self.local_scratch, options_config)
out = edb.write_export3d_option_config_file(self.local_scratch.path, options_config)
assert os.path.exists(out)
out = edb.export_maxwell(self.local_scratch, num_cores=6)
out = edb.export_maxwell(self.local_scratch.path, num_cores=6)
assert os.path.exists(out)
edb.close()

Expand Down

0 comments on commit b1c69d3

Please sign in to comment.