# Path: tests/conftest.py
# REASON_NOT_IMPLEMENTED = '' \
#     'Test case is not yet implemented, but a note of the requirement was made.'
# REASON_REQUIRES_KANO_OS = '' \
#     'Function makes system wide changes in Kano OS and was designed to' \
#     ' be executed in that environment, e.g. systemd, config files, etc.'
# def mock_file(file_path, mock_data=None):
# def is_kano_os():
# def is_pypkg_installed(modules):


import os
import unittest
import kano.utils as utils
import kano_settings.system.locale as locale
import kano_settings.system.keyboard_layouts as keyboard_layouts
from tests.conftest import mock_file, require_rpi

    @require_rpi
    def test_LC_MESSAGES_set(self):
        self.run_test_for_param('LC_MESSAGES')

    @require_rpi
    def test_LC_NUMERIC_set(self):
        self.run_test_for_param('LC_NUMERIC')

    @require_rpi
    def test_LC_PAPER_set(self):
        self.run_test_for_param('LC_PAPER')

    @require_rpi
    def test_LC_RESPONSE_set(self):
        self.run_test_for_param('LC_RESPONSE')

    @require_rpi
    def test_LC_TELEPHONE_set(self):
        self.run_test_for_param('LC_TELEPHONE')

    @require_rpi
    def test_LC_TIME_set(self):
        self.run_test_for_param('LC_TIME')


class SetLocale(unittest.TestCase):

    @require_rpi
    def test_set_locale(self):

# Path: tests/conftest.py
# REASON_NOT_IMPLEMENTED = '' \
#     'Test case is not yet implemented, but a note of the requirement was made.'
# REASON_REQUIRES_KANO_OS = '' \
#     'Function makes system wide changes in Kano OS and was designed to' \
#     ' be executed in that environment, e.g. systemd, config files, etc.'
# def mock_file(file_path, mock_data=None):
# def is_kano_os():
# def is_pypkg_installed(modules):


# Path: tests/kano_settings_pkg/test_locale.py
import os
import unittest
import kano.utils as utils
import kano_settings.system.locale as locale
import kano_settings.system.keyboard_layouts as keyboard_layouts
from tests.conftest import mock_file, require_rpi


    @require_rpi
    def test_LC_MESSAGES_set(self):
        self.run_test_for_param('LC_MESSAGES')

    @require_rpi
    def test_LC_NUMERIC_set(self):
        self.run_test_for_param('LC_NUMERIC')

    @require_rpi
    def test_LC_PAPER_set(self):
        self.run_test_for_param('LC_PAPER')

    @require_rpi
    def test_LC_RESPONSE_set(self):
        self.run_test_for_param('LC_RESPONSE')

    @require_rpi
    def test_LC_TELEPHONE_set(self):
        self.run_test_for_param('LC_TELEPHONE')

    @require_rpi
    def test_LC_TIME_set(self):
        self.run_test_for_param('LC_TIME')


class SetLocale(unittest.TestCase):

    @require_rpi
    def test_set_locale(self):

        with mock_file(locale.XSESSION_RC_FILE):