mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
ccc732dae2
`self.assertRaises(TypeError, ldb.Control, ldb, 1234)` is raising a TypeError because `ldb` is not an ldb.Ldb object, it is the ldb module. What we want to test here is that the non-string `1234` raises a TypeError -- the previous line tests the type of the ldb argument. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org> |
||
---|---|---|
.. | ||
python | ||
schema-tests | ||
guidindexpackv1.ldb | ||
init_slapd.sh | ||
init.ldif | ||
kill_slapd.sh | ||
ldapi_url.sh | ||
ldb_filter_attrs_in_place_test.c | ||
ldb_filter_attrs_test.c | ||
ldb_key_value_sub_txn_mdb_test.valgrind | ||
ldb_key_value_sub_txn_test.c | ||
ldb_key_value_test.c | ||
ldb_kv_ops_test.c | ||
ldb_kv_ops_test.valgrind | ||
ldb_lmdb_free_list_test.c | ||
ldb_lmdb_size_test.c | ||
ldb_lmdb_test.c | ||
ldb_match_test.c | ||
ldb_match_test.valgrind | ||
ldb_mod_op_test.c | ||
ldb_msg.c | ||
ldb_no_lmdb_test.c | ||
ldb_parse_test.c | ||
ldb_tdb_test.c | ||
lldb_ldap.c | ||
photo.ldif | ||
samba4.png | ||
sample_module.c | ||
slapd.conf | ||
start_slapd.sh | ||
test_ldb_comparison_fold.c | ||
test_ldb_dn.c | ||
test_ldb_qsort.c | ||
test-attribs.ldif | ||
test-config.ldif | ||
test-controls.sh | ||
test-default-config.ldif | ||
test-dup-2.ldif | ||
test-dup.ldif | ||
test-extended.sh | ||
test-generic.sh | ||
test-index.ldif | ||
test-ldap.sh | ||
test-modify-modrdn.ldif | ||
test-modify-unmet-2.ldif | ||
test-modify-unmet.ldif | ||
test-modify.ldif | ||
test-schema.sh | ||
test-soloading.sh | ||
test-sqlite3.sh | ||
test-tdb-features.sh | ||
test-tdb-subunit.sh | ||
test-tdb.sh | ||
test-wildcard.ldif | ||
test-wrong_attributes.ldif | ||
test.ldif | ||
testdata.txt | ||
testsearch.txt |