mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipalib: move server-side plugins to ipaserver
Move the remaining plugin code from ipalib.plugins to ipaserver.plugins. Remove the now unused ipalib.plugins package. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
ec841e5d7a
commit
6e44557b60
7
API.txt
7
API.txt
@ -2729,6 +2729,13 @@ output: Output('completed', type=[<type 'int'>])
|
|||||||
output: Output('failed', type=[<type 'dict'>])
|
output: Output('failed', type=[<type 'dict'>])
|
||||||
output: Output('succeeded', type=[<type 'dict'>])
|
output: Output('succeeded', type=[<type 'dict'>])
|
||||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||||
|
command: join
|
||||||
|
args: 1,4,0
|
||||||
|
arg: Str('cn', autofill=True, cli_name='hostname')
|
||||||
|
option: Str('nshardwareplatform?', cli_name='platform')
|
||||||
|
option: Str('nsosversion?', cli_name='os')
|
||||||
|
option: Str('realm', autofill=True)
|
||||||
|
option: Str('version?')
|
||||||
command: json_metadata
|
command: json_metadata
|
||||||
args: 2,4,3
|
args: 2,4,3
|
||||||
arg: Str('objname?')
|
arg: Str('objname?')
|
||||||
|
@ -81,7 +81,7 @@ api.finalize()
|
|||||||
|
|
||||||
# Only import trust plugin after api is initialized or internal imports
|
# Only import trust plugin after api is initialized or internal imports
|
||||||
# within the plugin will not work
|
# within the plugin will not work
|
||||||
from ipalib.plugins import trust
|
from ipaserver.plugins import trust
|
||||||
|
|
||||||
# We have to dance with two different credentials caches:
|
# We have to dance with two different credentials caches:
|
||||||
# ccache_name -- for cifs/ipa.master@IPA.REALM to communicate with LDAP
|
# ccache_name -- for cifs/ipa.master@IPA.REALM to communicate with LDAP
|
||||||
|
@ -60,7 +60,7 @@ OPTIONS
|
|||||||
--config
|
--config
|
||||||
files from html/
|
files from html/
|
||||||
--strings
|
--strings
|
||||||
ipalib/plugins/internal.py
|
ipaserver/plugins/internal.py
|
||||||
-C
|
-C
|
||||||
--compiled
|
--compiled
|
||||||
changes source dir of --freeipa and --dojo to /src/build/freeipa
|
changes source dir of --freeipa and --dojo to /src/build/freeipa
|
||||||
@ -340,8 +340,8 @@ pushd $DIR/../../ #freeipa/install
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
if [[ $STRINGS ]] ; then
|
if [[ $STRINGS ]] ; then
|
||||||
SOURCE=ipalib/plugins/internal.py
|
SOURCE=ipaserver/plugins/internal.py
|
||||||
TARGET=/usr/lib/python2.7/site-packages/ipalib/plugins
|
TARGET=/usr/lib/python2.7/site-packages/ipaserver/plugins
|
||||||
RECURSIVE=0
|
RECURSIVE=0
|
||||||
CLEAN=0 # don't clean entire folder
|
CLEAN=0 # don't clean entire folder
|
||||||
pushd $DIR/../../../
|
pushd $DIR/../../../
|
||||||
|
@ -7,7 +7,7 @@ from . import schema
|
|||||||
|
|
||||||
def get_package(api):
|
def get_package(api):
|
||||||
if api.env.in_tree:
|
if api.env.in_tree:
|
||||||
from ipalib import plugins
|
from ipaserver import plugins
|
||||||
else:
|
else:
|
||||||
plugins = schema.get_package(api)
|
plugins = schema.get_package(api)
|
||||||
|
|
||||||
|
@ -908,10 +908,8 @@ class API(plugable.API):
|
|||||||
@property
|
@property
|
||||||
def packages(self):
|
def packages(self):
|
||||||
if self.env.in_server:
|
if self.env.in_server:
|
||||||
import ipalib.plugins
|
|
||||||
import ipaserver.plugins
|
import ipaserver.plugins
|
||||||
result = (
|
result = (
|
||||||
ipalib.plugins,
|
|
||||||
ipaserver.plugins,
|
ipaserver.plugins,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
# Authors:
|
|
||||||
# Jason Gerard DeRose <jderose@redhat.com>
|
|
||||||
#
|
|
||||||
# Copyright (C) 2008 Red Hat
|
|
||||||
# see file 'COPYING' for use and warranty information
|
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
"""
|
|
||||||
Sub-package containing all core plugins.
|
|
||||||
"""
|
|
@ -59,9 +59,7 @@ def setup_package():
|
|||||||
classifiers=[line for line in CLASSIFIERS.split('\n') if line],
|
classifiers=[line for line in CLASSIFIERS.split('\n') if line],
|
||||||
platforms = ["Linux", "Solaris", "Unix"],
|
platforms = ["Linux", "Solaris", "Unix"],
|
||||||
package_dir = {'ipalib': ''},
|
package_dir = {'ipalib': ''},
|
||||||
packages = ["ipalib",
|
packages = ["ipalib"],
|
||||||
"ipalib.plugins",
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
finally:
|
finally:
|
||||||
del sys.path[0]
|
del sys.path[0]
|
||||||
|
@ -27,8 +27,8 @@ from ipalib import Registry, errors, util
|
|||||||
from ipalib import Updater
|
from ipalib import Updater
|
||||||
from ipapython.dn import DN
|
from ipapython.dn import DN
|
||||||
from ipapython import dnsutil
|
from ipapython import dnsutil
|
||||||
from ipalib.plugins.dns import dns_container_exists
|
|
||||||
from ipapython.ipa_log_manager import root_logger
|
from ipapython.ipa_log_manager import root_logger
|
||||||
|
from ipaserver.plugins.dns import dns_container_exists
|
||||||
|
|
||||||
register = Registry()
|
register = Registry()
|
||||||
|
|
||||||
|
@ -88,11 +88,11 @@ import six
|
|||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
from ipapython.dn import DN
|
from ipapython.dn import DN
|
||||||
from ipalib.plugable import Registry
|
from ipalib.plugable import Registry
|
||||||
from ipalib.plugins import aci
|
|
||||||
from ipalib.plugins.permission import permission, permission_del
|
|
||||||
from ipalib.aci import ACI
|
from ipalib.aci import ACI
|
||||||
from ipalib import Updater
|
from ipalib import Updater
|
||||||
from ipapython import ipautil
|
from ipapython import ipautil
|
||||||
|
from ipaserver.plugins import aci
|
||||||
|
from ipaserver.plugins.permission import permission, permission_del
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
unicode = str
|
unicode = str
|
||||||
|
@ -244,19 +244,21 @@ import json
|
|||||||
from lxml import etree
|
from lxml import etree
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import pki
|
|
||||||
from pki.client import PKIConnection
|
|
||||||
import pki.crypto as cryptoutil
|
|
||||||
from pki.kra import KRAClient
|
|
||||||
import six
|
import six
|
||||||
from six.moves import urllib
|
from six.moves import urllib
|
||||||
|
|
||||||
from ipalib import Backend
|
from ipalib import Backend, api
|
||||||
from ipapython.dn import DN
|
from ipapython.dn import DN
|
||||||
import ipapython.cookie
|
import ipapython.cookie
|
||||||
from ipapython import dogtag
|
from ipapython import dogtag
|
||||||
from ipapython import ipautil
|
from ipapython import ipautil
|
||||||
|
|
||||||
|
if api.env.in_server:
|
||||||
|
import pki
|
||||||
|
from pki.client import PKIConnection
|
||||||
|
import pki.crypto as cryptoutil
|
||||||
|
from pki.kra import KRAClient
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
unicode = str
|
unicode = str
|
||||||
|
|
||||||
@ -1269,7 +1271,7 @@ def select_any_master(ldap2, service='CA'):
|
|||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
from ipalib import Registry, api, errors, SkipPluginModule
|
from ipalib import Registry, errors, SkipPluginModule
|
||||||
if api.env.ra_plugin != 'dogtag':
|
if api.env.ra_plugin != 'dogtag':
|
||||||
# In this case, abort loading this plugin module...
|
# In this case, abort loading this plugin module...
|
||||||
raise SkipPluginModule(reason='dogtag not selected as RA plugin')
|
raise SkipPluginModule(reason='dogtag not selected as RA plugin')
|
||||||
|
@ -49,6 +49,8 @@ def validate_host(ugettext, cn):
|
|||||||
class join(Command):
|
class join(Command):
|
||||||
"""Join an IPA domain"""
|
"""Join an IPA domain"""
|
||||||
|
|
||||||
|
NO_CLI = True
|
||||||
|
|
||||||
takes_args = (
|
takes_args = (
|
||||||
Str('cn',
|
Str('cn',
|
||||||
validate_host,
|
validate_host,
|
||||||
|
@ -23,7 +23,7 @@ import six
|
|||||||
from six import StringIO
|
from six import StringIO
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
from ipalib.plugins.user import user_add
|
from ipaserver.plugins.user import user_add
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
|
@ -35,8 +35,8 @@ import nss.nss as nss
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from ipaserver.plugins.ldap2 import ldap2
|
from ipaserver.plugins.ldap2 import ldap2
|
||||||
from ipalib.plugins.service import service, service_show
|
from ipaserver.plugins.service import service, service_show
|
||||||
from ipalib.plugins.host import host
|
from ipaserver.plugins.host import host
|
||||||
from ipalib import api, x509, create_api, errors
|
from ipalib import api, x509, create_api, errors
|
||||||
from ipapython import ipautil
|
from ipapython import ipautil
|
||||||
from ipaplatform.paths import paths
|
from ipaplatform.paths import paths
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/automember.py` module.
|
Test the `ipaserver/plugins/automember.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipatests.test_xmlrpc.tracker.user_plugin import UserTracker
|
from ipatests.test_xmlrpc.tracker.user_plugin import UserTracker
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/automount.py' module.
|
Test the `ipaserver/plugins/automount.py' module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import textwrap
|
import textwrap
|
||||||
|
@ -27,7 +27,7 @@ from ipapython.dn import DN
|
|||||||
from ipapython import ipaldap
|
from ipapython import ipaldap
|
||||||
from ipalib import errors
|
from ipalib import errors
|
||||||
from ipalib.frontend import Command
|
from ipalib.frontend import Command
|
||||||
from ipalib.plugins import baseldap
|
from ipaserver.plugins import baseldap
|
||||||
from ipatests.util import assert_deepequal
|
from ipatests.util import assert_deepequal
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/batch.py` module.
|
Test the `ipaserver/plugins/batch.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api
|
from ipalib import api
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/cert.py` module against a RA.
|
Test the `ipaserver/plugins/cert.py` module against a RA.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/config.py` module.
|
Test the `ipaserver/plugins/config.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import errors
|
from ipalib import errors
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/delegation.py` module.
|
Test the `ipaserver/plugins/delegation.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/dns.py` module.
|
Test the `ipaserver/plugins/dns.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import nose
|
import nose
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/group.py` module.
|
Test the `ipaserver/plugins/group.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/hbacrule.py` module.
|
Test the `ipaserver/plugins/hbacrule.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from nose.tools import raises, assert_raises # pylint: disable=E0611
|
from nose.tools import raises, assert_raises # pylint: disable=E0611
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/hbactest.py` module.
|
Test the `ipaserver/plugins/hbactest.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
|
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/netgroup.py` module.
|
Test the `ipaserver/plugins/netgroup.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api
|
from ipalib import api
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/permission.py` module with old API.
|
Test the `ipaserver/plugins/permission.py` module with old API.
|
||||||
|
|
||||||
This ensures basic backwards compatibility for code before
|
This ensures basic backwards compatibility for code before
|
||||||
http://www.freeipa.org/page/V3/Permissions_V2
|
http://www.freeipa.org/page/V3/Permissions_V2
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/passwd.py` module.
|
Test the `ipaserver/plugins/passwd.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from nose.tools import assert_raises # pylint: disable=E0611
|
from nose.tools import assert_raises # pylint: disable=E0611
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/permission.py` module.
|
Test the `ipaserver/plugins/permission.py` module.
|
||||||
"""
|
"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/ping.py` module, and XML-RPC in general.
|
Test the `ipaserver/plugins/ping.py` module, and XML-RPC in general.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/privilege.py` module.
|
Test the `ipaserver/plugins/privilege.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/pwpolicy.py` module.
|
Test the `ipaserver/plugins/pwpolicy.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from nose.tools import assert_raises # pylint: disable=E0611
|
from nose.tools import assert_raises # pylint: disable=E0611
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/idrange.py` module, and XML-RPC in general.
|
Test the `ipaserver/plugins/idrange.py` module, and XML-RPC in general.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import six
|
import six
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/realmdomains.py` module.
|
Test the `ipaserver/plugins/realmdomains.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/role.py` module.
|
Test the `ipaserver/plugins/role.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/selfservice.py` module.
|
Test the `ipaserver/plugins/selfservice.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import errors
|
from ipalib import errors
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/selinuxusermap.py` module.
|
Test the `ipaserver/plugins/selinuxusermap.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/service.py` module.
|
Test the `ipaserver/plugins/service.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors, x509
|
from ipalib import api, errors, x509
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
||||||
#
|
#
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/serviceconstraint.py` module.
|
Test the `ipaserver/plugins/serviceconstraint.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/stageuser.py` module.
|
Test the `ipaserver/plugins/stageuser.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/sudocmd.py` module.
|
Test the `ipaserver/plugins/sudocmd.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import api, errors
|
from ipalib import api, errors
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/sudocmdgroup.py` module.
|
Test the `ipaserver/plugins/sudocmdgroup.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ipalib import errors
|
from ipalib import errors
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/sudorule.py` module.
|
Test the `ipaserver/plugins/sudorule.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from nose.tools import raises, assert_raises # pylint: disable=E0611
|
from nose.tools import raises, assert_raises # pylint: disable=E0611
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
Test the `ipalib/plugins/trust.py` module.
|
Test the `ipaserver/plugins/trust.py` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import nose
|
import nose
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user