d5e6ae5cfc
python: Fix samba4.dcerpc.rpcecho.RpcEchoTests.test_surrounding test.
2009-06-08 22:41:39 +02:00
f128bfd449
Add str() for policy_handles.
...
Pair programmed with Jelmer
2009-04-21 12:06:04 +02:00
6f60a6e71a
python/dcerpc: Custom implementations of policy_handle.__init__ and policy_handle.__repr__
...
pair-programmed with Jelmer
2009-04-21 11:53:00 +02:00
1856b999c8
python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.
2009-04-21 11:14:11 +02:00
03abc846ee
Fix the valid NetBIOS name tests.
2009-04-20 11:11:25 +02:00
213249ceab
Improve formatting in Python file.
2009-04-06 00:25:08 +02:00
b1db78c595
Make valid_netbios_name() check a bit stricter.
2009-04-06 00:25:03 +02:00
cdbc00bb52
Fix test_surrounding in samba4.rpcecho.python.
2009-03-02 05:07:30 +01:00
b9cf189404
expand tabs in python file, consistent with the rest of the file.
2009-02-24 01:02:26 +01:00
762fdc8c5c
Provide a SamDB TestCase-class that can be used by OpenChange.
2009-02-12 16:00:11 +01:00
7048e75aee
Use created loadparm context, rather than the one specified on the command-line.
2009-02-12 15:58:11 +01:00
9e71fef57b
Use convenience function for finding setup dir in SaMDB tests.
2009-02-11 18:45:51 +01:00
d9e94bf336
Make it possible to override the setup path.
2009-02-11 18:17:00 +01:00
f13895851f
Cancel transactions when exceptions are raised.
2009-02-11 17:54:58 +01:00
00b61ff2cf
samba.tests.samdb: Fix test after merger of samba.security and
...
samba.dcerpc.security
2008-12-23 11:44:10 +01:00
a32194033a
Move tests for ParamFile.
2008-12-21 16:39:17 +01:00
6efb7ff981
Fix various Python-related bugs.
2008-12-21 07:34:27 +01:00
6998ef4fe0
Avoid use of parentheses in Python import statements, as it's not supported by Python2.3.
2008-12-19 21:47:31 +01:00
1c94f3e95d
Use new style python classes.
...
(This used to be commit 2a39aae0ce
)
2008-08-01 21:00:09 +02:00
2772871146
Fix samdb python test.
...
(This used to be commit 0e3d488cc1
)
2008-05-30 14:15:40 +02:00
21377a7ea9
Fix the samba4.dcerpc.bare.python test.
...
The loadparm context isn't really optional, as otherwise we can't find
the right server to connect to.
Andrew Bartlett
(This used to be commit 2b5acb5e95
)
2008-05-30 15:26:10 +10:00
d579540085
Fix rpcecho test.
...
(This used to be commit df8399ba9d
)
2008-05-30 15:09:59 +10:00
b9babfe4cc
Fix up provision and samdb tests.
...
This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.
Andrew Bartlett
(This used to be commit 89fc39f7ed
)
2008-05-30 14:26:47 +10:00
6f7b2b6933
Fix samdb test and enable it.
...
(This used to be commit 6b202d3780
)
2008-05-29 17:38:12 +02:00
e16f0e15b4
Update after changes to the provision API, make sure temp dir gets cleaned
...
up.
(This used to be commit 064e9ddb37
)
2008-05-29 17:31:16 +02:00
90aeca8ebd
Check test directory is cleaned up by Python tests.
...
(This used to be commit c338269b4b
)
2008-05-29 17:29:56 +02:00
5df9e0576e
Fix missing colon.
...
(This used to be commit 6b1576f544
)
2008-05-25 14:41:54 +02:00
74126bc6d0
Expose transfer and abstract syntax.
...
(This used to be commit a875e07a37
)
2008-05-25 04:54:38 +02:00
928ecbaebb
Add support for secondary contexts from Python.
...
(This used to be commit 16d1ad0505
)
2008-05-25 04:23:03 +02:00
21ce0ff006
Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
...
(This used to be commit e3178d522c
)
2008-05-24 22:56:49 +02:00
75e7962d2e
Add convenience functions for setting Python objects from errors.
...
(This used to be commit f1de723b89
)
2008-05-24 22:13:32 +02:00
05194ccdf8
Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
...
(This used to be commit 468d35827f
)
2008-05-24 19:50:09 +02:00
5eed56d0ad
Fix bugs in samr python tests.
...
(This used to be commit 09c6b106ac
)
2008-05-23 15:10:35 +02:00
6ccb9785e7
Add another test toe the python samr testsuite.
...
(This used to be commit 480884c696
)
2008-05-23 04:21:29 +02:00
27005cb7a2
Convert samr test to python.
...
(This used to be commit 88d473b202
)
2008-05-23 04:20:45 +02:00
d8459e3e1c
Fix import in provision test.
...
(This used to be commit 96501be38d
)
2008-05-22 03:09:40 +02:00
d77745e692
Move DCE/RPC python bindings into samba package.
...
(This used to be commit 8dafd4ce40
)
2008-05-22 02:21:25 +02:00
059c012656
Fix dependencies and imports.
...
(This used to be commit 37ef86f8de
)
2008-05-22 00:56:36 +02:00
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48
)
2008-05-21 23:59:34 +02:00
251f6bd991
make sure to always use string version of uuid rather than object.
...
(This used to be commit bcd5fc7dc9
)
2008-05-11 04:36:37 +02:00
5319d9620b
Use consistent function names with the standard Python uuid module that is available in >= 2.4.
...
(This used to be commit 60d458e319
)
2008-05-11 03:31:26 +02:00
4d8f3f1902
Fix the expectations on the unixinfo test.
...
Andrew Bartlett
(This used to be commit 0df2b3e0b5
)
2008-04-17 12:03:49 +02:00
fd52fe8616
Fix pointers when pushing strings to python during pidl generation.
...
(This used to be commit ca72187b3e
)
2008-04-15 14:32:13 +02:00
1b5f32128d
Use RpcInterfaceTestCase everywhere.
...
(This used to be commit 799095b4e5
)
2008-04-14 23:28:14 +02:00
2cdfaedee2
Make sure credentials are specified when running the Python winreg RPC tests.
...
(This used to be commit 280339e3d1
)
2008-04-14 19:20:43 +02:00
1bcbc4afcf
Allow command line options in the subunitrun script.
...
(This used to be commit 524ec0796e
)
2008-04-14 19:13:41 +02:00
02f3695897
Add convenience TestCase class for testing RPC interfaces.
...
(This used to be commit 2f19f98144
)
2008-04-14 18:30:07 +02:00
ad823b04da
Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
...
(This used to be commit cae61e32e5
)
2008-04-08 14:58:38 +02:00
1f474f4a54
Add trivial test for unixinfo interface.
...
(This used to be commit b6b7171f70
)
2008-04-08 03:29:12 +02:00
142fbfb3c1
Fix and test python scripts and kerberos
...
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option. (This
enables the use of kerberos).
As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.
The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.
Andrew Bartlett
(This used to be commit 727ef40c2b
)
2008-03-28 21:57:15 +11:00