summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/dcerpc
AgeCommit message (Collapse)AuthorFilesLines
2013-03-02Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij11-888/+0
Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij3-8/+8
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2012-08-15s4-selftest: Fix test name for samba.tests.dcerpc.bareAndrew Bartlett1-1/+1
2012-03-13s4-python: Remove env from non-executable dcerpc scripts.Andreas Schneider11-21/+4
2012-03-13s4-python: Remove execute flag from non-executable rpc_talloc script.Andreas Schneider1-0/+0
2012-02-18s4-python: Various formatting fixes.Jelmer Vernooij2-4/+5
2012-01-24python: Change except: statement to except Exception:Amitay Isaacs1-1/+1
This way we only catch true exceptions and keyboard interrupts are not caught here. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
2011-12-23test:dnsserver: Add zone creation and deletion testAmitay Isaacs1-0/+51
2011-12-08Add tests for srvsvc python interface. Thanks Dhananjay SatheJelmer Vernooij1-0/+69
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
2011-11-08s4-dnsserver: Test forward zones are not listed in reverse zone searchAmitay Isaacs1-2/+15
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 01:26:43 CET 2011 on sn-devel-104
2011-11-02s4-dnsserver: Check the raised exception with assertRaisesAmitay Isaacs1-13/+11
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-selftest: Add tests for RPC dnsserverAmitay Isaacs1-0/+181
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-09-13s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij9-21/+48
places.
2010-12-05s4-python: Add more module docstrings.Jelmer Vernooij8-0/+16
2010-11-05talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2-8/+10
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
2010-09-21s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2-4/+4
2010-09-20rpc_talloc: Update test now that we create fewer references.Jelmer Vernooij1-7/+4
2010-09-20pytestrpc: Be more verbose.Jelmer Vernooij1-4/+6
2010-09-20testrpc: Convert from a single unit test to a simple test script, beJelmer Vernooij1-18/+32
more verbose.
2010-09-20pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij1-1/+1
2010-09-03pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij1-1/+1
2010-09-02s4-pidl: added a test for all generated rpc interfacesAndrew Tridgell1-0/+113
this tries to instantiate all types in all generated python RPC interfaces, then checks that all attributes can be read, written and compared.
2010-08-26s4-pyrpc: convert rpc_talloc.py test to unittest frameworkAndrew Tridgell1-45/+59
This fits in better with our test framework Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-25s4-pyrpc: added a test for talloc behaviour in pidl python codeAndrew Tridgell1-0/+56
2010-06-25s4 python: Add unit tests related to PyLong/PyInt handlingMatthieu Patou1-2/+11
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell7-7/+7
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij7-16/+20
setUp methods are called, fix formatting.
2010-06-13s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij1-6/+6
command-line options. This is the first step towards supporting custom test runners.
2010-03-01General cleanups of python code, hinted by pyflakes.Jelmer Vernooij1-0/+1
2009-09-24Add init file for DCE/RPC tests.Jelmer Vernooij1-0/+20
2009-09-24PEP8Jelmer Vernooij6-3/+6
2009-09-24Revert "s4:python fixed subunit tests of dcerpc"Jelmer Vernooij6-0/+314
This reverts commit ffd48a79ee34dc90c0f6f16564c3a0de8b53d3d2.
2009-09-04s4:python fixed subunit tests of dcerpcAndrew Tridgell6-314/+0
The version of the unitest python module in Ubuntu Jaunty doesn't seem to support this many level of subdirectories. Moving the tests up one level solves the problem.
2009-08-17s4: Major rework of the LDB/SAMDB/IDMAP python bindingsMatthias Dieter Wallnöfer1-0/+0
- Centralise the lookups for the default domain (root) in the call "domain_dn" - Reduce the LDB connections attempts ("connect" calls) from three to one - tools should load faster - Make the LDB connection init more like the "ldb_wrap_connection" call - Load the right UTF8 casefolder which fixes up problems with special characters (discovered by me: e.g. small "Umlaute" (ä, ö, ü, ...) in the DN weren't upcased - so records "seemed" lost in TDB)
2009-06-08python: Fix samba4.dcerpc.rpcecho.RpcEchoTests.test_surrounding test.Jelmer Vernooij1-1/+1
2009-04-21Add str() for policy_handles.Andrew Bartlett1-1/+6
Pair programmed with Jelmer
2009-04-21python/dcerpc: Custom implementations of policy_handle.__init__ and ↵Andrew Bartlett1-0/+11
policy_handle.__repr__ pair-programmed with Jelmer
2009-04-21python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and ↵Andrew Bartlett1-0/+48
GUID.__cmp__.
2009-03-02Fix test_surrounding in samba4.rpcecho.python.Jelmer Vernooij1-1/+1
2008-08-01Use new style python classes.Jelmer Vernooij3-0/+4
(This used to be commit 2a39aae0cef310a79427feb1b85f6794ea36849a)
2008-05-30Fix the samba4.dcerpc.bare.python test.Andrew Bartlett1-5/+6
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-30Fix rpcecho test.Andrew Bartlett1-1/+1
(This used to be commit df8399ba9dee9d1c706a3e56451c9f2cade96dae)
2008-05-25Fix missing colon.Jelmer Vernooij1-1/+1
(This used to be commit 6b1576f544e2ea2b5ea0b234b724c4989dd49cca)
2008-05-25Expose transfer and abstract syntax.Jelmer Vernooij2-5/+12
(This used to be commit a875e07a37568b7e51c290074d5e3834c2caa4d6)
2008-05-25Add support for secondary contexts from Python.Jelmer Vernooij2-0/+17
(This used to be commit 16d1ad050546ae6500153438db8d3c857e6f3ad5)
2008-05-24Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.Jelmer Vernooij1-0/+30
(This used to be commit e3178d522c95871f1db35d7e058906502387a553)
2008-05-24Add convenience functions for setting Python objects from errors.Jelmer Vernooij1-0/+5
(This used to be commit f1de723b89251cbc8140b838941f304a34871bf3)
2008-05-24Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.Jelmer Vernooij1-0/+12
(This used to be commit 468d35827fd055c82c6d43d6ce6d3d561abed54d)
2008-05-23Fix bugs in samr python tests.Jelmer Vernooij1-1/+1
(This used to be commit 09c6b106ac144820b8c072bda4dad3d8e2145ff0)
2008-05-23Add another test toe the python samr testsuite.Jelmer Vernooij1-2/+18
(This used to be commit 480884c696c676bb978e9197271b99cc03bb66e6)