Skip to content
Merged
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
14 changes: 2 additions & 12 deletions src/nirfsa/system_tests/test_system_nirfsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,7 @@ def test_reset_with_options(self, rfsa_device_session):
# Reset with no omitted steps deletes the de-embedding tables.
rfsa_device_session.reset_with_options(steps_to_omit_none)
rfsa_device_session.ports[''].deembedding_selected_table = 'myTable1'
try:
rfsa_device_session.commit()
assert False
except nirfsa.Error as e:
assert e.code == -1074097772
assert 'de-embedding table cannot be found' in e.description
rfsa_device_session.commit()

@pytest.mark.skipif(use_simulated_session is False, reason="Takes long time on real device")
def test_self_cal_range(self, rfsa_device_session):
Expand Down Expand Up @@ -571,12 +566,7 @@ def test_create_deembedding_sparameter_table_s2p_file(self, rfsa_device_session)
with rfsa_device_session.initiate():
rfsa_device_session.check_acquisition_status()
rfsa_device_session.delete_all_deembedding_tables()
try:
rfsa_device_session.commit()
assert False
except nirfsa.Error as e:
assert e.code == -1074097772
assert 'de-embedding table cannot be found' in e.description
rfsa_device_session.commit()
rfsa_device_session.ports[''].deembedding_selected_table = ''
with rfsa_device_session.initiate():
rfsa_device_session.check_acquisition_status()
Expand Down
7 changes: 1 addition & 6 deletions src/nirfsg/system_tests/test_system_nirfsg.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,7 @@ def test_create_deembedding_sparameter_table_s2p_file(self, rfsg_device_session)
with rfsg_device_session.initiate():
rfsg_device_session.check_generation_status()
rfsg_device_session.delete_all_deembedding_tables()
try:
rfsg_device_session.commit()
assert False
except nirfsg.Error as e:
assert e.code == -1074097772
assert 'The specified de-embedding table cannot be found' in e.description
rfsg_device_session.commit()
rfsg_device_session.ports[''].deembedding_selected_table = ''
with rfsg_device_session.initiate():
rfsg_device_session.check_generation_status()
Expand Down
Loading