summaryrefslogtreecommitdiff
path: root/tests/integration_tests/modules/test_keyboard.py
blob: 7db3501413f9e4d22691b9c61b525f3b020440fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import pytest

USER_DATA = """\
#cloud-config
keyboard:
    layout: de
    model: pc105
    variant: nodeadkeys
    options: compose:rwin
"""


class TestKeyboard:
    @pytest.mark.user_data(USER_DATA)
    def test_keyboard(self, client):
        lc = client.execute("localectl")
        assert "X11 Layout: de" in lc