pep8 fixes

master
Guillaume Gelin 2019-04-24 18:56:13 +02:00
parent 9deae7457f
commit de0286df98
2 changed files with 3 additions and 2 deletions

View File

@ -394,7 +394,7 @@ class _Group(command.CommandObject):
def match(group):
from . import scratchpad
if group is self:
return True
if skip_empty and not group.windows:

View File

@ -231,6 +231,7 @@ def test_floating_toggle(qtile):
is_spawned(qtile, 'dd-a')
assert sorted(qtile.c.group["a"].info()['windows']) == ['dd-a', 'dd-a', 'one']
@scratchpad_config
def test_stepping_between_groups_should_skip_scratchpads(qtile):
# we are on a group
@ -241,5 +242,5 @@ def test_stepping_between_groups_should_skip_scratchpads(qtile):
assert qtile.c.group.info()["name"] == "a"
qtile.c.screen.prev_group()
# we should be on b group
# we should be on b group
assert qtile.c.group.info()["name"] == "b"