OPSI.ldaptor.test.test_ldapfilter module¶
Test cases for ldaptor.protocols.ldap.ldapfilter module.
- 
class 
OPSI.ldaptor.test.test_ldapfilter.RFC2254Examples(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase- 
test_and_or()¶ 
- 
test_cn()¶ 
- 
test_escape_asterisk()¶ 
- 
test_escape_backslash()¶ 
- 
test_escape_binary()¶ 
- 
test_escape_parens()¶ 
- 
test_escape_utf8()¶ 
- 
test_extensible_1()¶ 
- 
test_extensible_2()¶ 
- 
test_extensible_3()¶ 
- 
test_extensible_4()¶ 
- 
test_not_cn()¶ 
- 
test_substrings()¶ 
- 
 
- 
class 
OPSI.ldaptor.test.test_ldapfilter.TestInvalid(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase- 
test_closeParen_1()¶ 
- 
test_closeParen_2()¶ 
- 
test_closeParen_3()¶ 
- 
test_closeParen_4()¶ 
- 
test_openParen_1()¶ 
- 
test_openParen_2()¶ 
- 
test_openParen_3()¶ 
- 
test_openParen_4()¶ 
- 
test_whitespace_afterOpenParen()¶ 
- 
test_whitespace_beforeEq()¶ 
- 
test_whitespace_leading()¶ 
- 
test_whitespace_trailing()¶ 
- 
 
- 
class 
OPSI.ldaptor.test.test_ldapfilter.TestMaybeSubstring(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase- 
test_escape_simple()¶ 
- 
test_item_present()¶ 
- 
test_item_simple()¶ 
- 
test_item_substring_aa()¶ 
- 
test_item_substring_aaf()¶ 
- 
test_item_substring_af()¶ 
- 
test_item_substring_any()¶ 
- 
test_item_substring_final()¶ 
- 
test_item_substring_ia()¶ 
- 
test_item_substring_iaa()¶ 
- 
test_item_substring_iaaf()¶ 
- 
test_item_substring_iaf()¶ 
- 
test_item_substring_if()¶ 
- 
test_item_substring_init()¶ 
- 
 
- 
class 
OPSI.ldaptor.test.test_ldapfilter.TestValid(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase- 
test_and_item()¶ 
- 
test_andornot()¶ 
- 
test_item_present()¶ 
- 
test_item_simple()¶ 
- 
test_item_substring_aa()¶ 
- 
test_item_substring_aaf()¶ 
- 
test_item_substring_af()¶ 
- 
test_item_substring_any()¶ 
- 
test_item_substring_final()¶ 
- 
test_item_substring_ia()¶ 
- 
test_item_substring_iaa()¶ 
- 
test_item_substring_iaaf()¶ 
- 
test_item_substring_iaf()¶ 
- 
test_item_substring_if()¶ 
- 
test_item_substring_init()¶ 
- 
test_not_item()¶ 
- 
test_or_item()¶ 
- 
test_whitespace_afterEq()¶ 
- 
test_whitespace_beforeCloseParen()¶ 
- 
 
- 
class 
OPSI.ldaptor.test.test_ldapfilter.TestWhitespace(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase- 
test_escape()¶ 
- 
 
- 
OPSI.ldaptor.test.test_ldapfilter.l(s)¶ Split a string to ord’s of chars.
- 
OPSI.ldaptor.test.test_ldapfilter.s(*l)¶ Join all members of list to a string. Integer members are chr()ed