Skip to content

Do not bypass caching configuration by default.

965df5c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Add dash based device monitor #164

Do not bypass caching configuration by default.
965df5c
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Sep 9, 2025 in 0s

4 fail, 21 pass in 2s

 1 files   -  2   1 suites   - 2   2s ⏱️ -6s
25 tests ± 0  21 ✅ ± 0  0 💤 ±0  4 ❌ ±0 
25 runs   - 50  21 ✅  - 42  0 💤 ±0  4 ❌  - 8 

Results for commit 965df5c. ± Comparison against earlier commit 258a8ac.

Annotations

Check warning on line 0 in src.tests.mapping_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_map_terminals_gui (src.tests.mapping_test) failed

artifacts/pytest-results-3.9/test-results.xml [took 0s]
Raw output
AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f0e184bcac0>
station_with_instruments = <qcodes.station.Station object at 0x7f0e187f5be0>
script = <qumada.measurement.scripts.generic_measurement.Generic_1D_Sweep object at 0x7f0e184bcc40>

    def test_map_terminals_gui(mocker: MockerFixture, station_with_instruments, script):
        mocker.patch("qumada.instrument.mapping.mapping_gui.QApplication", autospec=True)
        mock_main_window = mocker.patch("qumada.instrument.mapping.mapping_gui.MainWindow", autospec=True)
    
        kwargs = {
            "components": station_with_instruments.components,
>           "terminal_parameters": script.gate_parameters,
            "monitoring": False,
        }
E       AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'

src/tests/mapping_test.py:251: AttributeError

Check warning on line 0 in src.tests.mapping_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mapping_gui_monitoring[True] (src.tests.mapping_test) failed

artifacts/pytest-results-3.9/test-results.xml [took 0s]
Raw output
AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'
monitoring = True, qtbot = <pytestqt.qtbot.QtBot object at 0x7f0e184665e0>
station_with_instruments = <qcodes.station.Station object at 0x7f0e187f5be0>
script = <qumada.measurement.scripts.generic_measurement.Generic_1D_Sweep object at 0x7f0e18466af0>
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f0e18466100>

    @pytest.mark.parametrize("monitoring", [True, False])
    def test_mapping_gui_monitoring(monitoring: bool, qtbot, station_with_instruments, script, mocker):
        w = MainWindow(
            station_with_instruments.components,
>           script.gate_parameters,
            monitoring=monitoring,
        )
E       AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'

src/tests/mapping_test.py:265: AttributeError

Check warning on line 0 in src.tests.mapping_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mapping_gui_monitoring[False] (src.tests.mapping_test) failed

artifacts/pytest-results-3.9/test-results.xml [took 0s]
Raw output
AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'
monitoring = False, qtbot = <pytestqt.qtbot.QtBot object at 0x7f0e18748df0>
station_with_instruments = <qcodes.station.Station object at 0x7f0e187f5be0>
script = <qumada.measurement.scripts.generic_measurement.Generic_1D_Sweep object at 0x7f0e18748d30>
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f0e187482b0>

    @pytest.mark.parametrize("monitoring", [True, False])
    def test_mapping_gui_monitoring(monitoring: bool, qtbot, station_with_instruments, script, mocker):
        w = MainWindow(
            station_with_instruments.components,
>           script.gate_parameters,
            monitoring=monitoring,
        )
E       AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'

src/tests/mapping_test.py:265: AttributeError

Check warning on line 0 in src.tests.mapping_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mapping_gui_map_automatically (src.tests.mapping_test) failed

artifacts/pytest-results-3.9/test-results.xml [took 0s]
Raw output
AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f0e18436a90>
qtbot = <pytestqt.qtbot.QtBot object at 0x7f0e184367f0>
station_with_instruments = <qcodes.station.Station object at 0x7f0e187f5be0>
script = <qumada.measurement.scripts.generic_measurement.Generic_1D_Sweep object at 0x7f0e18436760>

    def test_mapping_gui_map_automatically(mocker, qtbot, station_with_instruments, script):
        # mock dialogs (specify behaviour in return_value and skip)
        mocker.patch("qumada.instrument.mapping.mapping_gui.MessageBox_notallmapped.exec", return_value=QMessageBox.No)
        mocker.patch("qumada.instrument.mapping.mapping_gui.MessageBox_duplicates.exec", return_value=QMessageBox.No)
        mocker.patch("qumada.instrument.mapping.mapping_gui.MessageBox_overwrite.exec", return_value=QMessageBox.No)
    
        w = MainWindow(
            station_with_instruments.components,
>           script.gate_parameters,
        )
E       AttributeError: 'Generic_1D_Sweep' object has no attribute 'gate_parameters'

src/tests/mapping_test.py:378: AttributeError