# coding: utf-8

"""
    authentik

    Making authentication simple.

    The version of the OpenAPI document: 2026.5.0-rc1
    Contact: hello@goauthentik.io
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from authentik_client.models.kerberos_source import KerberosSource

class TestKerberosSource(unittest.TestCase):
    """KerberosSource unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> KerberosSource:
        """Test KerberosSource
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `KerberosSource`
        """
        model = KerberosSource()
        if include_optional:
            return KerberosSource(
                pk = '',
                name = '',
                slug = 'z',
                enabled = True,
                promoted = True,
                authentication_flow = '',
                enrollment_flow = '',
                user_property_mappings = [
                    ''
                    ],
                group_property_mappings = [
                    ''
                    ],
                component = '',
                verbose_name = '',
                verbose_name_plural = '',
                meta_model_name = '',
                policy_engine_mode = 'all',
                user_matching_mode = 'identifier',
                managed = '',
                user_path_template = '',
                icon = '',
                icon_url = '',
                icon_themed_urls = authentik_client.models.themed_urls.ThemedUrls(
                    light = '', 
                    dark = '', ),
                group_matching_mode = 'identifier',
                realm = '',
                krb5_conf = '',
                kadmin_type = 'MIT',
                sync_users = True,
                sync_users_password = True,
                sync_principal = '',
                sync_ccache = '',
                connectivity = {
                    'key' : ''
                    },
                spnego_server_name = '',
                spnego_ccache = '',
                password_login_update_internal_password = True,
                sync_outgoing_trigger_mode = 'none'
            )
        else:
            return KerberosSource(
                pk = '',
                name = '',
                slug = 'z',
                component = '',
                verbose_name = '',
                verbose_name_plural = '',
                meta_model_name = '',
                managed = '',
                icon_url = '',
                icon_themed_urls = authentik_client.models.themed_urls.ThemedUrls(
                    light = '', 
                    dark = '', ),
                realm = '',
                connectivity = {
                    'key' : ''
                    },
        )
        """

    def testKerberosSource(self):
        """Test KerberosSource"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
