Jelmer Vernooij
03abc846ee
Fix the valid NetBIOS name tests.
2009-04-20 11:11:25 +02:00
Jelmer Vernooij
213249ceab
Improve formatting in Python file.
2009-04-06 00:25:08 +02:00
Jelmer Vernooij
b1db78c595
Make valid_netbios_name() check a bit stricter.
2009-04-06 00:25:03 +02:00
Jelmer Vernooij
cdbc00bb52
Fix test_surrounding in samba4.rpcecho.python.
2009-03-02 05:07:30 +01:00
Jelmer Vernooij
b9cf189404
expand tabs in python file, consistent with the rest of the file.
2009-02-24 01:02:26 +01:00
Jelmer Vernooij
762fdc8c5c
Provide a SamDB TestCase-class that can be used by OpenChange.
2009-02-12 16:00:11 +01:00
Jelmer Vernooij
7048e75aee
Use created loadparm context, rather than the one specified on the command-line.
2009-02-12 15:58:11 +01:00
Jelmer Vernooij
9e71fef57b
Use convenience function for finding setup dir in SaMDB tests.
2009-02-11 18:45:51 +01:00
Jelmer Vernooij
d9e94bf336
Make it possible to override the setup path.
2009-02-11 18:17:00 +01:00
Jelmer Vernooij
f13895851f
Cancel transactions when exceptions are raised.
2009-02-11 17:54:58 +01:00
Jelmer Vernooij
00b61ff2cf
samba.tests.samdb: Fix test after merger of samba.security and
...
samba.dcerpc.security
2008-12-23 11:44:10 +01:00
Jelmer Vernooij
a32194033a
Move tests for ParamFile.
2008-12-21 16:39:17 +01:00
Jelmer Vernooij
6efb7ff981
Fix various Python-related bugs.
2008-12-21 07:34:27 +01:00
Jelmer Vernooij
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
Jelmer Vernooij
1c94f3e95d
Use new style python classes.
...
(This used to be commit 2a39aae0cef310a79427feb1b85f6794ea36849a)
2008-08-01 21:00:09 +02:00
Jelmer Vernooij
2772871146
Fix samdb python test.
...
(This used to be commit 0e3d488cc108174ca0f875aab16b9771c2933f19)
2008-05-30 14:15:40 +02:00
Andrew Bartlett
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 2b5acb5e95b46dd39c6f54b5bb7e15ddb180f7ec)
2008-05-30 15:26:10 +10:00
Andrew Bartlett
d579540085
Fix rpcecho test.
...
(This used to be commit df8399ba9dee9d1c706a3e56451c9f2cade96dae)
2008-05-30 15:09:59 +10:00
Andrew Bartlett
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 89fc39f7edb214065aff461bc225f41443eae3c7)
2008-05-30 14:26:47 +10:00
Jelmer Vernooij
6f7b2b6933
Fix samdb test and enable it.
...
(This used to be commit 6b202d3780f8ff50e0bdfa4a749c43b5639e4880)
2008-05-29 17:38:12 +02:00
Jelmer Vernooij
e16f0e15b4
Update after changes to the provision API, make sure temp dir gets cleaned
...
up.
(This used to be commit 064e9ddb3786bd7df8785b39754b1e6674496b66)
2008-05-29 17:31:16 +02:00
Jelmer Vernooij
90aeca8ebd
Check test directory is cleaned up by Python tests.
...
(This used to be commit c338269b4b9f2bf4d3386880c1d733a8e47e2c8d)
2008-05-29 17:29:56 +02:00
Jelmer Vernooij
5df9e0576e
Fix missing colon.
...
(This used to be commit 6b1576f544e2ea2b5ea0b234b724c4989dd49cca)
2008-05-25 14:41:54 +02:00
Jelmer Vernooij
74126bc6d0
Expose transfer and abstract syntax.
...
(This used to be commit a875e07a37568b7e51c290074d5e3834c2caa4d6)
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
928ecbaebb
Add support for secondary contexts from Python.
...
(This used to be commit 16d1ad050546ae6500153438db8d3c857e6f3ad5)
2008-05-25 04:23:03 +02:00
Jelmer Vernooij
21ce0ff006
Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
...
(This used to be commit e3178d522c95871f1db35d7e058906502387a553)
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
75e7962d2e
Add convenience functions for setting Python objects from errors.
...
(This used to be commit f1de723b89251cbc8140b838941f304a34871bf3)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
05194ccdf8
Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
...
(This used to be commit 468d35827fd055c82c6d43d6ce6d3d561abed54d)
2008-05-24 19:50:09 +02:00
Jelmer Vernooij
5eed56d0ad
Fix bugs in samr python tests.
...
(This used to be commit 09c6b106ac144820b8c072bda4dad3d8e2145ff0)
2008-05-23 15:10:35 +02:00
Jelmer Vernooij
6ccb9785e7
Add another test toe the python samr testsuite.
...
(This used to be commit 480884c696c676bb978e9197271b99cc03bb66e6)
2008-05-23 04:21:29 +02:00
Jelmer Vernooij
27005cb7a2
Convert samr test to python.
...
(This used to be commit 88d473b202e82b462ef82ffdeb4f1710918ffda5)
2008-05-23 04:20:45 +02:00
Jelmer Vernooij
d8459e3e1c
Fix import in provision test.
...
(This used to be commit 96501be38da947f02ad57217e0bc23f7a66d36f9)
2008-05-22 03:09:40 +02:00
Jelmer Vernooij
d77745e692
Move DCE/RPC python bindings into samba package.
...
(This used to be commit 8dafd4ce40b7348fd5f2b1f2f5d2106ef4cc0dd1)
2008-05-22 02:21:25 +02:00
Jelmer Vernooij
059c012656
Fix dependencies and imports.
...
(This used to be commit 37ef86f8de9039b8226b190254d842e92b5faad7)
2008-05-22 00:56:36 +02:00
Jelmer Vernooij
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
251f6bd991
make sure to always use string version of uuid rather than object.
...
(This used to be commit bcd5fc7dc9899deb9fa84fdeeb21ed2ddb921308)
2008-05-11 04:36:37 +02:00
Jelmer Vernooij
5319d9620b
Use consistent function names with the standard Python uuid module that is available in >= 2.4.
...
(This used to be commit 60d458e3195eef6baf655fee0da7c3f68517e8e6)
2008-05-11 03:31:26 +02:00
Andrew Bartlett
4d8f3f1902
Fix the expectations on the unixinfo test.
...
Andrew Bartlett
(This used to be commit 0df2b3e0b56007850cf83cfdcdb45ca29e162d34)
2008-04-17 12:03:49 +02:00
Jelmer Vernooij
fd52fe8616
Fix pointers when pushing strings to python during pidl generation.
...
(This used to be commit ca72187b3e71a037780d42a57e46b60e75f724f6)
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
1b5f32128d
Use RpcInterfaceTestCase everywhere.
...
(This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)
2008-04-14 23:28:14 +02:00
Jelmer Vernooij
2cdfaedee2
Make sure credentials are specified when running the Python winreg RPC tests.
...
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf
Allow command line options in the subunitrun script.
...
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
2008-04-14 19:13:41 +02:00
Jelmer Vernooij
02f3695897
Add convenience TestCase class for testing RPC interfaces.
...
(This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)
2008-04-14 18:30:07 +02:00
Jelmer Vernooij
ad823b04da
Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
...
(This used to be commit cae61e32e5b61a02c2986b74bd1d7e58460b1e80)
2008-04-08 14:58:38 +02:00
Jelmer Vernooij
1f474f4a54
Add trivial test for unixinfo interface.
...
(This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)
2008-04-08 03:29:12 +02:00
Andrew Bartlett
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 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-03-28 21:57:15 +11:00
Jelmer Vernooij
08e3f99f14
Initial work on a test for samba.tests.samdb
...
(This used to be commit 8b33860954ca03be1ea45fd8d40963dbbd5b162f)
2008-02-13 02:18:45 +01:00
Jelmer Vernooij
af007e5837
Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
...
(This used to be commit eb04de69c0e319e18b148191946808f81e1cc8c4)
2008-02-11 13:20:24 +01:00
Jelmer Vernooij
2cf29aebff
Add tests for upgrade of WINS database.
...
(This used to be commit 7777611c0f32a693f0fa057c130e4ea491658f6b)
2008-02-09 22:29:42 +01:00
Jelmer Vernooij
cf287aa831
Add docstring.
...
(This used to be commit 073ed0dd1cc8fae9eb4a2f7ff6763124917c56e8)
2008-02-09 17:42:31 +01:00