a3cd315321
python2 reduction: Merge remaining compat code into common
...
The remaining compat code (get_string, get_bytes,
cmp) are useful helper routines which we should
simply merge into common (especially since there
is some duplication here).
Signed-off-by: David Mulder <dmulder@suse.com >
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
Autobuild-User(master): David Mulder <dmulder@samba.org >
Autobuild-Date(master): Fri Oct 2 14:49:36 UTC 2020 on sn-devel-184
2020-10-02 14:49:36 +00:00
c247afbda0
pytests: heed assertEquals deprecation warning en-masse
...
TestCase.assertEquals() is an alias for TestCase.assertEqual() and
has been deprecated since Python 2.7.
When we run our tests with in python developer mode (`PYTHONDEVMODE=1
make test`) we get 580 DeprecationWarnings about this.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz >
Reviewed-by: Noel Power <npower@samba.org >
2020-02-07 10:37:37 +00:00
7283413a3f
tests: Fix a typo
...
Signed-off-by: Volker Lendecke <vl@samba.org >
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz >
2020-01-06 01:47:30 +00:00
fe7ab7d513
tests/ntlm_auth: Port ntlm_auth_diagnostics tests to python
...
Port ntlm_auth_diagnostics bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Autobuild-User(master): Noel Power <npower@samba.org >
Autobuild-Date(master): Wed Dec 19 16:21:32 CET 2018 on sn-devel-144
2018-12-19 16:21:32 +01:00
91c4f26036
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth ntlm-server-1 with incorrect fixed password against winbind
...
Port ntlm_auth bash script tests to python and remove bash test script
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:14 +01:00
3ae7095bbe
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth ntlm-server-1 with plaintext password against winbind but wrong sid
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:13 +01:00
8d4258f43d
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth ntlm-server-1 with plaintext password against winbind
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:13 +01:00
7c0c683b2e
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth ntlm-server-1 with incorrect fixed password
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:13 +01:00
28ea2f7220
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth ntlm-server-1 with fixed password
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:13 +01:00
3794c1c527
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth plaintext authentication with failed require-membership-of
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:12 +01:00
dfa149276f
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth plaintext authentication with require-membership-of
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:12 +01:00
caa505302f
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth with NTLMSSP gss-spnego-client and gss-spnego server against winbind with failed require-membership-of
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:12 +01:00
377e87a234
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth against winbindd with failed require-membership-of
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:12 +01:00
8d11a54e37
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth with NTLMSSP gss-spnego-client and gss-spnego server against winbind with require-membership-of
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:11 +01:00
1f704496ea
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth against winbindd with require-membership-of
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
Signed-off-by: Noel Power <noel.power@suse.com >
2018-12-19 12:42:11 +01:00
06d101e3f0
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth ccached credentials with NTLMSSP client and gss-spnego server
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:11 +01:00
4ce9371f5f
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth with NTLMSSP gss-spnego-client and gss-spnego server against winbind
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:10 +01:00
c9a5bf3c82
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth with NTLMSSP gss-spnego-client and gss-spnego server
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:10 +01:00
d3fd3d01f1
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth with NTLMSSP client and gss-spnego server
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:10 +01:00
4a11ab373b
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth against winbindd
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:09 +01:00
247592f716
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth and ntlm_auth with specified domain
...
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de >
Reviewed-by: Noel Power <npower@samba.org >
Reviewed-by: Andrew Bartlett <abartlet@samba.org >
2018-12-19 12:42:09 +01:00