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
4 changes: 2 additions & 2 deletions qubes_config/tests/test_usb_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
"""
Expand Down Expand Up @@ -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(
"""
Expand Down
2 changes: 1 addition & 1 deletion qui/updater/tests/test_intro_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions qui/updater/tests/test_summary_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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",
Expand Down