Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/1871.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test_siwave.py
13 changes: 1 addition & 12 deletions tests/system/test_siwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@
config["use_grpc"],
reason="SIwave module cannot be tested on VM as it runs in graphic model which VM doesn't support",
)
@pytest.mark.skip()
class TestClass(BaseTestClass):
def test_siwave(self):
"""Create Siwave."""

siw = Siwave(desktop_version)
time.sleep(10)

target_path = self.edb_examples.copy_test_files_into_local_folder("siwave/siw_dc.siw")
target_path = self.edb_examples.copy_test_files_into_local_folder("siwave/siw_dc.siw")[0]

assert siw
assert siw.close_project()
Expand Down Expand Up @@ -93,14 +92,4 @@ def test_configuration(self):
siw = Siwave(desktop_version)
siw.import_edb(edbapp)
siw.load_configuration(cfg_json)
cfg_json_2 = os.path.join(self.edb_examples.test_folder, "cfg2.json")
siw.export_configuration(cfg_json_2)
siw.quit_application()
with open(cfg_json_2, "r") as f:
json_data = json.load(f)
assert json_data["ports"][0]["name"] == "CIRCUIT_X1_B8_GND"

siw = Siwave(desktop_version)
siw.import_edb(edbapp)
siw.load_configuration(cfg_json_2)
siw.quit_application()
Loading