blob: 69797b2c4f8141f5417264620b782e180d813749 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
import pytest
from qutebrowser.mainwindow import tabbedbrowser
class TestTabDeque:
@pytest.mark.parametrize('size', [-1, 5])
def test_size_handling(self, size, config_stub):
config_stub.val.tabs.focus_stack_size = size
dq = tabbedbrowser.TabDeque()
dq.update_size()
|