File: test_restart.py

package info (click to toggle)
python-i3ipc 2.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 580 kB
  • sloc: python: 2,968; makefile: 222; sh: 4
file content (8 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
from ipctest import IpcTest


class TestRestart(IpcTest):
    def test_auto_reconnect(self, i3):
        i3._auto_reconnect = True
        i3.command('restart')
        assert i3.command('nop')