diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:19:59 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:29 +0200 |
commit | 542e91ef9222302303d2ecc10dceb96d1b0d5bab (patch) | |
tree | dccf1e4662c64795951af8ced6ce2804166357b3 /source4 | |
parent | 7a07d4223028ed34cca20d2fcdf4f1bca1856c8b (diff) | |
download | samba-542e91ef9222302303d2ecc10dceb96d1b0d5bab.tar.gz |
PEP8: fix E301: expected 1 blank line, found 0
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/tests/python/ad_dc_search_performance.py | 2 | ||||
-rwxr-xr-x | source4/dsdb/tests/python/ldap.py | 2 | ||||
-rw-r--r-- | source4/dsdb/tests/python/sort.py | 1 | ||||
-rw-r--r-- | source4/lib/wmi/wmi.py | 3 |
4 files changed, 8 insertions, 0 deletions
diff --git a/source4/dsdb/tests/python/ad_dc_search_performance.py b/source4/dsdb/tests/python/ad_dc_search_performance.py index e2469461644..26cee2ef020 100644 --- a/source4/dsdb/tests/python/ad_dc_search_performance.py +++ b/source4/dsdb/tests/python/ad_dc_search_performance.py @@ -271,6 +271,7 @@ class UserTests(samba.tests.TestCase): test_01_10_complex_search_3k_users = _test_complex_search test_01_11_unindexed_search_3k_users = _test_unindexed_search test_01_12_indexed_search_3k_users = _test_indexed_search + def test_01_13_member_search_3k_users(self): self._test_member_search(rounds=5) @@ -281,6 +282,7 @@ class UserTests(samba.tests.TestCase): test_03_10_complex_search_linked_users = _test_complex_search test_03_11_unindexed_search_linked_users = _test_unindexed_search test_03_12_indexed_search_linked_users = _test_indexed_search + def test_03_13_member_search_linked_users(self): self._test_member_search(rounds=2) diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index 8dec06f1acf..33dd0405721 100755 --- a/source4/dsdb/tests/python/ldap.py +++ b/source4/dsdb/tests/python/ldap.py @@ -1373,6 +1373,8 @@ class BasicTests(samba.tests.TestCase): # this test needs to be disabled until we really understand # what the rDN length constraints are + + def DISABLED_test_largeRDN(self): """Testing large rDN (limit 64 characters)""" rdn = "CN=a012345678901234567890123456789012345678901234567890123456789012" diff --git a/source4/dsdb/tests/python/sort.py b/source4/dsdb/tests/python/sort.py index f9b6c4cd789..6eef4c03689 100644 --- a/source4/dsdb/tests/python/sort.py +++ b/source4/dsdb/tests/python/sort.py @@ -345,6 +345,7 @@ class BaseSortTests(samba.tests.TestCase): class SimpleSortTests(BaseSortTests): avoid_tricky_sort = True + def test_server_sort_different_attr(self): self._test_server_sort_different_attr() diff --git a/source4/lib/wmi/wmi.py b/source4/lib/wmi/wmi.py index 7da465b0b70..54d806bdf7f 100644 --- a/source4/lib/wmi/wmi.py +++ b/source4/lib/wmi/wmi.py @@ -61,6 +61,7 @@ WBEM_ConnectServer = _wmi.WBEM_ConnectServer class IUnknown(object): thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr + def __init__(self, *args, **kwargs): _wmi.IUnknown_swiginit(self, _wmi.new_IUnknown(*args, **kwargs)) __swig_destroy__ = _wmi.delete_IUnknown @@ -71,6 +72,7 @@ IUnknown_swigregister(IUnknown) class IWbemServices(object): thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr + def __init__(self, *args, **kwargs): _wmi.IWbemServices_swiginit(self, _wmi.new_IWbemServices(*args, **kwargs)) __swig_destroy__ = _wmi.delete_IWbemServices @@ -83,6 +85,7 @@ IWbemServices_swigregister(IWbemServices) class IEnumWbemClassObject(object): thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr + def __init__(self, *args, **kwargs): _wmi.IEnumWbemClassObject_swiginit(self, _wmi.new_IEnumWbemClassObject(*args, **kwargs)) __swig_destroy__ = _wmi.delete_IEnumWbemClassObject |