mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-24 15:16:40 -06:00
New Param: removed more depreciated 'import ipa_types'
This commit is contained in:
parent
2b2e73e7df
commit
69acff450c
@ -36,7 +36,6 @@ import frontend
|
||||
import backend
|
||||
import errors
|
||||
import plugable
|
||||
import ipa_types
|
||||
import util
|
||||
from constants import CLI_TAB
|
||||
|
||||
@ -801,7 +800,7 @@ class CLI(object):
|
||||
)
|
||||
if 'password' in option.flags:
|
||||
kw['action'] = 'store_true'
|
||||
elif isinstance(option.type, ipa_types.Bool):
|
||||
elif option.type is bool:
|
||||
if option.default is True:
|
||||
kw['action'] = 'store_false'
|
||||
else:
|
||||
|
@ -28,6 +28,7 @@ from plugable import lock, check_name
|
||||
import errors
|
||||
from errors import check_type, check_isinstance, raise_TypeError
|
||||
import parameters
|
||||
from parameters import create_param
|
||||
from util import make_repr
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@ do
|
||||
if [[ -f $executable ]]; then
|
||||
echo "[ $name: Starting tests... ]"
|
||||
((runs += 1))
|
||||
if $executable /usr/bin/nosetests -v --with-doctest
|
||||
if $executable /usr/bin/nosetests -v
|
||||
then
|
||||
echo "[ $name: Tests OK ]"
|
||||
else
|
||||
|
@ -23,7 +23,7 @@ Test the `ipalib.frontend` module.
|
||||
|
||||
from tests.util import raises, getitem, no_set, no_del, read_only
|
||||
from tests.util import check_TypeError, ClassChecker, create_test_api
|
||||
from ipalib import frontend, backend, plugable, errors, ipa_types, config
|
||||
from ipalib import frontend, backend, plugable, errors, parameters, config
|
||||
|
||||
|
||||
def test_RULE_FLAG():
|
||||
|
Loading…
Reference in New Issue
Block a user