1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/python/samba
Andrew Bartlett 298515cac2 selftest: Move self.assertRaisesLdbError() to samba.tests.TestCase
This is easier to reason with regarding which cases should work
and which cases should fail, avoiding issues where more success
than expected would be OK because a self.fail() was missed in a
try: block.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-10-04 21:07:31 +00:00
..
emulate python: remove all 'from __future__ import division' 2021-04-28 03:43:34 +00:00
gp_parse python2 reduction: Merge remaining compat code into common 2020-10-02 14:49:36 +00:00
kcc python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
netcmd samba-tool: Fix a typo 2021-09-07 18:26:33 +00:00
provision samba-tool: Provision search DnsAdmins from wellknown container 2021-06-22 01:14:37 +00:00
samba3 libsmb_samba_internal: calculate the access_mask for {g,s}et_acl() based on the secinfo flags 2020-12-17 13:59:38 +00:00
subunit python:subunit: Avoid misleading "Test was never started" error message 2021-06-11 08:38:34 +00:00
tests selftest: Move self.assertRaisesLdbError() to samba.tests.TestCase 2021-10-04 21:07:31 +00:00
__init__.py python: Don't leak file handles 2021-09-21 23:05:41 +00:00
auth_util.py python: fix slow's mail address 2020-06-05 10:32:30 +00:00
colour.py python/colour: add colourizing and switch functions 2018-05-31 01:57:17 +02:00
common.py python2 reduction: Merge remaining compat code into common 2020-10-02 14:49:36 +00:00
dbchecker.py samba-tool: dbcheck search DnsAdmins from wellknown container 2021-06-22 01:14:37 +00:00
descriptor.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
dnsresolver.py DNS Resolver: support both dnspython before and after 2.0.0 2020-10-26 18:33:40 +00:00
dnsserver.py py/dnsserver: TXTRecord copes with single strings 2021-07-05 04:16:34 +00:00
domain_update.py python/domain_update: remove unused imports 2018-10-25 21:45:53 +02:00
drs_utils.py drs_utils: remove unused sendRemoveDsServer() 2020-12-09 16:00:39 +00:00
forest_update.py python/forest_update: remove unused imports 2018-10-25 21:45:53 +02:00
getopt.py python: Streamline option parser of python tools 2021-06-20 23:26:32 +00:00
gp_cert_auto_enroll_ext.py gpo: Print getcert message to debug 2021-08-13 20:06:31 +00:00
gp_chromium_ext.py gpo: Add Chromium Group Policy 2021-09-09 20:42:35 +00:00
gp_ext_loader.py python/gp_ext_loader: remove unused imports 2018-10-25 21:45:53 +02:00
gp_firefox_ext.py gpo: Add Group Policy Firefox Extension 2021-08-30 21:57:09 +00:00
gp_gnome_settings_ext.py gpo: Apply Group Policy GNOME Settings 2021-06-09 17:44:25 +00:00
gp_msgs_ext.py GPO: Add rsop output for Messages policy 2020-08-27 17:19:48 +00:00
gp_scripts_ext.py gpo: Apply Group Policy User Scripts 2021-08-13 19:14:30 +00:00
gp_sec_ext.py gpo: Ensure that samba-gpupdate doesn't require ad-dc 2021-03-08 17:58:37 +00:00
gp_smb_conf_ext.py GPO: Add rsop output for smb.conf policy 2020-08-27 15:59:34 +00:00
gp_sudoers_ext.py gpo: Sudoers ext should not crash if policy missing 2020-08-27 15:59:33 +00:00
gpclass.py gpo: Enable user policy application 2021-08-13 19:14:30 +00:00
graph.py python: remove all 'from __future__ import division' 2021-04-28 03:43:34 +00:00
hostconfig.py python/hostconfig: remove 'from __future__ import absolute_import' 2021-04-28 03:43:34 +00:00
idmap.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
join.py python/join: Check for correct msDS-KrbTgtLink attribute 2021-09-21 23:05:41 +00:00
logger.py logger: use color automatically for a tty 2018-11-21 10:46:20 +01:00
mdb_util.py mdb_util: Better error message if lmdb-utils not installed 2018-11-09 21:07:47 +01:00
ms_display_specifiers.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
ms_forest_updates_markdown.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
ms_schema_markdown.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
ms_schema.py python: Don't leak file handles 2021-09-21 23:05:41 +00:00
ndr.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
ntacls.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
remove_dc.py python/remove_dc: fix Exception construction 2018-11-01 05:08:13 +01:00
samdb.py samdb: Create computer in wellknown user container 2021-06-22 01:14:37 +00:00
schema.py python: Don't leak file handles 2021-09-21 23:05:41 +00:00
sd_utils.py PEP8: fix E231: missing whitespace after ',' 2018-08-24 07:49:28 +02:00
sites.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
subnets.py python/subnets: use the correct variable name 2018-11-01 05:08:11 +01:00
tdb_util.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
trust_utils.py Add CreateTrustedDomainRelax wrapper for fips mode 2020-11-06 10:02:35 +00:00
upgrade.py classicupgrade: treat old never expires value right 2021-02-10 15:06:49 +00:00
upgradehelpers.py python: remove all 'from __future__ import division' 2021-04-28 03:43:34 +00:00
uptodateness.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
vgp_access_ext.py gpo: Apply Group Policy Host Access configuration from VGP 2021-03-18 18:50:28 +00:00
vgp_files_ext.py gpo: Correct name of files gpo 2021-04-29 22:27:20 +00:00
vgp_issue_ext.py gpo: Apply Group Policy Issue setting from VGP 2021-03-08 19:45:30 +00:00
vgp_motd_ext.py gpo: Apply Group Policy MOTD setting from VGP 2021-03-08 19:45:30 +00:00
vgp_openssh_ext.py gpo: Open ssh config to write bytes 2021-04-20 07:39:37 +00:00
vgp_startup_scripts_ext.py gpo: Apply Group Policy Startup Scripts from VGP 2021-02-24 20:51:30 +00:00
vgp_sudoers_ext.py gpo: vgp_sudoers_ext handle missing and dispersed principal names 2021-03-08 17:58:37 +00:00
vgp_symlink_ext.py gpo: Apply Group Policy Symlink Policy from VGP 2021-01-27 06:30:31 +00:00
xattr.py python/xattr: remove unused variable 2018-11-01 05:08:14 +01:00