示例#1
0
 def test_errcheck_compare_ko(self):
     result = ReturnCodes.LDAP_COMPARE_FALSE
     self.assertEqual(False, errcheck_compare(result, 'func', 'args'))
示例#2
0
 def test_errcheck_compare_ko(self):
     result = ReturnCodes.LDAP_COMPARE_FALSE
     self.assertEqual(False, errcheck_compare(result, "func", "args"))
示例#3
0
 def test_errcheck_compare_ok(self):
     result = ReturnCodes.LDAP_COMPARE_TRUE
     self.assertEqual(True, errcheck_compare(result, 'func', 'args'))
示例#4
0
 def test_errcheck_compare_ok(self):
     result = ReturnCodes.LDAP_COMPARE_TRUE
     self.assertEqual(True, errcheck_compare(result, "func", "args"))