mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Check whether the default user group is POSIX when adding new user with --noprivate.
ticket 2572
This commit is contained in:
committed by
Martin Kosek
parent
51b34d5c42
commit
cdebb29fec
@@ -107,6 +107,14 @@ def assert_equal(val1, val2):
|
||||
assert val1 == val2, '%r != %r' % (val1, val2)
|
||||
|
||||
|
||||
def assert_not_equal(val1, val2):
|
||||
"""
|
||||
Assert ``val1`` and ``val2`` are the same type and of non-equal value.
|
||||
"""
|
||||
assert type(val1) is type(val2), '%r != %r' % (val1, val2)
|
||||
assert val1 != val2, '%r == %r' % (val1, val2)
|
||||
|
||||
|
||||
class Fuzzy(object):
|
||||
"""
|
||||
Perform a fuzzy (non-strict) equality tests.
|
||||
|
||||
Reference in New Issue
Block a user