def test_errcheck_compare_ko(self): result = ReturnCodes.LDAP_COMPARE_FALSE self.assertEqual(False, errcheck_compare(result, 'func', 'args'))
def test_errcheck_compare_ko(self): result = ReturnCodes.LDAP_COMPARE_FALSE self.assertEqual(False, errcheck_compare(result, "func", "args"))
def test_errcheck_compare_ok(self): result = ReturnCodes.LDAP_COMPARE_TRUE self.assertEqual(True, errcheck_compare(result, 'func', 'args'))
def test_errcheck_compare_ok(self): result = ReturnCodes.LDAP_COMPARE_TRUE self.assertEqual(True, errcheck_compare(result, "func", "args"))