diff --git a/qubes_config/tests/test_usb_devices.py b/qubes_config/tests/test_usb_devices.py index dc9134cb..40087c02 100644 --- a/qubes_config/tests/test_usb_devices.py +++ b/qubes_config/tests/test_usb_devices.py @@ -858,7 +858,7 @@ def test_u2f_handler_save_complex(test_qapp, test_policy_manager, real_builder): call(test_qapp.domains["fedora-35"], handler.SERVICE_FEATURE, True) in mock_apply.mock_calls ) - assert len(mock_apply.mock_calls) == 2 + assert len(mock_apply.mock_calls) == 3 expected_rules = handler.policy_manager.text_to_rules( """ @@ -917,7 +917,7 @@ def test_u2f_handler_save_complex_2(test_qapp, test_policy_manager, real_builder call(test_qapp.domains["fedora-35"], handler.SERVICE_FEATURE, True) in mock_apply.mock_calls ) - assert len(mock_apply.mock_calls) == 2 + assert len(mock_apply.mock_calls) == 3 expected_rules = handler.policy_manager.text_to_rules( """ diff --git a/qui/updater/tests/test_intro_page.py b/qui/updater/tests/test_intro_page.py index 05d07fb7..540d42dc 100644 --- a/qui/updater/tests/test_intro_page.py +++ b/qui/updater/tests/test_intro_page.py @@ -64,7 +64,7 @@ def test_populate_vm_list( assert len(sut.get_vms_to_update()) == 2 -N_QUBES = 17 +N_QUBES = 19 # i-th expectations value is an expected number of selected VMs after clicking on the diff --git a/qui/updater/tests/test_summary_page.py b/qui/updater/tests/test_summary_page.py index 22c5e172..43c7f740 100644 --- a/qui/updater/tests/test_summary_page.py +++ b/qui/updater/tests/test_summary_page.py @@ -96,7 +96,7 @@ def test_on_header_toggled( sut.head_checkbox._allowed[0] = AppVMType.SERVICEVM service_num = 3 sut.head_checkbox._allowed[1] = AppVMType.NON_SERVICEVM - non_excluded_num = 10 + non_excluded_num = 11 sut.head_checkbox.state = HeaderCheckbox.NONE @@ -176,9 +176,9 @@ def test_on_checkbox_toggled( # expected data based on test_qapp setup -UP_VMS = 11 +UP_VMS = 12 UP_SERVICE_VMS = 3 -UP_APP_VMS = 8 +UP_APP_VMS = 9 @pytest.mark.parametrize( @@ -379,6 +379,7 @@ def test_perform_restart( "sys-net", "sys-usb", "default-dvm", + "default-mgmt-dvm", "test-alt-dvm", "test-alt-dvm-running", "test-blue",