1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/python/samba/tests
Noel Power 1fb9887ea8 python/samba: PY3 ord needs 'str' type not int
string_to_byte_array returns not a bytearray (as the name suggests)
but a list of byte values (int). Some code expects the list so even
using a 'real' bytearray wont work.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-12-10 10:38:21 +01:00
..
blackbox python/samba.tests: Ensure samba-tool is called with correct python ver. 2018-12-10 10:38:20 +01:00
dcerpc tests samr: Extra tests for samr_EnumDomainUserss 2018-11-20 22:14:17 +01:00
dns_forwarder_helpers py/tests: remove unused imports 2018-10-25 21:45:55 +02:00
emulate python/samba/tests: fix traffic for py2/py3 compatability 2018-09-05 23:27:13 +02:00
kcc python/tests/kcc_utils: disambiguate/unshadow a test 2018-10-25 21:45:59 +02:00
samba_tool tests: Add test-case for 'group list --verbose' 2018-12-04 09:17:17 +01:00
__init__.py tests: Handle backup command exceptions as test failures, not errors 2018-11-27 03:43:17 +01:00
audit_log_base.py dsdb: Log the transaction duraton. 2018-06-25 11:16:18 +02:00
audit_log_dsdb.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
audit_log_pass_change.py dsdb: audit samdb and password changes 2018-06-09 15:02:11 +02:00
auth_log_base.py auth tests: irpc remove "auth_event" name on completion 2018-05-31 09:54:18 +02:00
auth_log_ncalrpc.py auth logging tests: Clean up flake8 warnings 2018-05-10 20:02:23 +02:00
auth_log_netlogon_bad_creds.py auth logging tests: Clean up flake8 warnings 2018-05-10 20:02:23 +02:00
auth_log_netlogon.py auth logging tests: Add tests for sessionId 2018-05-10 20:02:23 +02:00
auth_log_pass_change.py tests: Split out setUp code into separate function for reuse 2018-05-11 06:01:23 +02:00
auth_log_samlogon.py python/samba: PY3 ord needs 'str' type not int 2018-12-10 10:38:21 +01:00
auth_log.py PEP8: fix E241: multiple spaces after ',' 2018-08-24 07:49:28 +02:00
auth.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
common.py python/tests/common: avoid import * 2018-10-25 21:45:56 +02:00
complex_expressions.py ldb: complex expression testing 2018-12-07 07:07:08 +01:00
core.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
credentials.py python/tests/credentials: remove unused variables 2018-11-01 05:08:14 +01:00
dckeytab.py PEP8: fix E122: continuation line missing indentation or outdented 2018-09-06 12:10:11 +02:00
dns_base.py python/samba/tests: py_gensec_update takes bytes as param 2018-09-15 15:18:30 +02:00
dns_forwarder.py python/tests/dns*: remove unused imports 2018-10-25 21:45:54 +02:00
dns_invalid.py python/tests/dns*: remove unused imports 2018-10-25 21:45:54 +02:00
dns_tkey.py python/tests/dns*: remove unused imports 2018-10-25 21:45:54 +02:00
dns_wildcard.py dns wildcards: tests to confirm BUG 13536 2018-07-20 01:47:20 +02:00
dns.py CVE-2018-14629: Tests to expose regression from dns cname loop fix 2018-12-04 05:32:09 +01:00
docs.py docs-xml: add "smbd max async dosmode" 2018-12-06 01:43:13 +01:00
domain_backup_offline.py tests: Rework backup test inheritance to make LP constraints clearer 2018-11-27 06:57:03 +01:00
domain_backup.py tests: Rework backup test inheritance to make LP constraints clearer 2018-11-27 06:57:03 +01:00
dsdb_lock.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
dsdb_schema_attributes.py python/tests/dsdb_schema_attr: remove unused/duplicate imports 2018-10-25 21:45:54 +02:00
dsdb.py python/tests/dsdb: use correct variable names 2018-11-01 05:08:11 +01:00
encrypted_secrets.py python/samba/tests: PY3 port of samba.tests.encrypted_secrets 2018-09-05 23:27:12 +02:00
gensec.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
get_opt.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
getdcname.py python/tests/getdcname: remove unused imports 2018-10-25 21:45:54 +02:00
glue.py python: samba.tests.glue: Add new tests for samba._glue. 2017-03-10 07:31:10 +01:00
gpo.py python/tests/gpo: import what we need (errno, not gp_log) 2018-10-25 21:45:52 +02:00
graph.py PEP8: fix E122: continuation line missing indentation or outdented 2018-08-24 07:49:26 +02:00
group_audit.py dsdb: Audit group membership changes 2018-06-09 15:02:11 +02:00
hostconfig.py PEP8: fix E231: missing whitespace after ',' 2018-08-24 07:49:28 +02:00
join.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
krb5_credentials.py python tests: fix format() strings for Python 2.6 2018-09-21 20:04:23 +02:00
libsmb_samba_internal.py PEP8: fix E305: expected 2 blank lines after class or function definition, found 1 2018-08-24 07:49:30 +02:00
loadparm.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
lsa_string.py python/tests/lsa_string: remove duplicate method 2018-10-25 21:45:59 +02:00
messaging.py PEP8: fix E306: expected 1 blank line before a nested definition, found 0 2018-08-24 07:49:30 +02:00
net_join_no_spnego.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
net_join.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
netbios.py python/tests/netbios: remove unused imports 2018-10-25 21:45:54 +02:00
netcmd.py python/samba/tests: Use io.StringIO for py3 and StringIO.StrinIO for py2 2018-09-03 03:22:21 +02:00
netlogonsvc.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
ntacls_backup.py tests: Work out DOMSID via samdb rather than environs 2018-11-27 03:43:17 +01:00
ntacls.py tests/ntacls: fix pep8 warnings 2018-06-28 12:14:59 +02:00
ntlmdisabled.py python/tests/*: remove unused imports 2018-10-25 21:45:54 +02:00
pam_winbind_chauthtok.py tests: Check pam_winbind pw change with different options 2018-10-02 17:30:29 +02:00
pam_winbind_warn_pwd_expire.py PEP8: fix E711: comparison to None should be 'if cond is not None:' 2018-08-24 07:49:30 +02:00
pam_winbind.py PEP8: fix E711: comparison to None should be 'if cond is not None:' 2018-08-24 07:49:30 +02:00
param.py python: samba.tests.param: Add missing tests 2017-03-10 07:31:10 +01:00
password_hash_fl2003.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
password_hash_fl2008.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
password_hash_gpgme.py PEP8: fix E711: comparison to None should be 'if cond is not None:' 2018-08-24 07:49:30 +02:00
password_hash_ldap.py python/samba/tests: py3 port for samba.test.password_hash_ldap 2018-09-05 23:27:11 +02:00
password_hash.py python/samba/tests: make password_hash.py py2/py3 compatible 2018-09-05 23:27:11 +02:00
password_quality.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
password_test.py python/tests/*: remove unused imports 2018-10-25 21:45:54 +02:00
policy.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
posixacl.py python tests: fix format() strings for Python 2.6 2018-09-21 20:04:23 +02:00
prefork_restart.py source4 smbd test: prefork process restart 2018-11-23 08:25:19 +01:00
process_limits.py s4 smbd standard tests: limit forked processes 2018-11-30 11:42:44 +01:00
provision.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
pso.py python tests: fix format() strings for Python 2.6 2018-09-21 20:04:23 +02:00
py_credentials.py python/samba/tests: port samba.tests.py_credentials for py2/py3 compat 2018-09-05 23:27:12 +02:00
registry.py python:tests: Use bin/tdbdump only if built 2017-11-24 01:13:14 +01:00
s3idmapdb.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3param.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3passdb.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3registry.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3windb.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
samba3sam.py pytests/samba3sam: unshadow and fix a search_non_mapped test 2018-10-26 00:50:37 +02:00
samdb_api.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
samdb.py python/tests/samdb: avoid useless local variable 2018-10-25 21:45:54 +02:00
security.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
smb.py PEP8: fix E703: statement ends with a semicolon 2018-08-24 07:49:30 +02:00
source.py python/tests/source: remove useless local variable 2018-11-01 05:08:14 +01:00
strings.py python tests: always use Python's unicodedata 2018-10-25 21:45:57 +02:00
subunitrun.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
tdb_util.py python: tests: Add test for tdb_copy function from tdb_util module. 2017-07-05 02:00:25 +02:00
test_pam_winbind_chauthtok.sh python/samba.tests: Ensure samba-tool is called with correct python ver. 2018-12-10 10:38:20 +01:00
test_pam_winbind_warn_pwd_expire.sh build: Move pam_wrapper to third_party 2017-11-25 10:14:13 +01:00
test_pam_winbind.sh build: Move pam_wrapper to third_party 2017-11-25 10:14:13 +01:00
upgrade.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
upgradeprovision.py PEP8: fix W391: blank line at end of file 2018-08-24 07:49:31 +02:00
upgradeprovisionneeddc.py PEP8: fix E127: continuation line over-indented for visual indent 2018-09-06 12:10:12 +02:00
xattr.py PEP8: fix E401: multiple imports on one line 2018-08-24 07:49:30 +02:00