summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/dcerpc
Commit message (Collapse)AuthorAgeFilesLines
* Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij2013-03-0211-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
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-273-8/+8
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* s4-selftest: Fix test name for samba.tests.dcerpc.bareAndrew Bartlett2012-08-151-1/+1
|
* s4-python: Remove env from non-executable dcerpc scripts.Andreas Schneider2012-03-1311-21/+4
|
* s4-python: Remove execute flag from non-executable rpc_talloc script.Andreas Schneider2012-03-131-0/+0
|
* s4-python: Various formatting fixes.Jelmer Vernooij2012-02-182-4/+5
|
* python: Change except: statement to except Exception:Amitay Isaacs2012-01-241-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
* test:dnsserver: Add zone creation and deletion testAmitay Isaacs2011-12-231-0/+51
|
* Add tests for srvsvc python interface. Thanks Dhananjay SatheJelmer Vernooij2011-12-081-0/+69
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
* s4-dnsserver: Test forward zones are not listed in reverse zone searchAmitay Isaacs2011-11-081-2/+15
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 01:26:43 CET 2011 on sn-devel-104
* s4-dnsserver: Check the raised exception with assertRaisesAmitay Isaacs2011-11-021-13/+11
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-selftest: Add tests for RPC dnsserverAmitay Isaacs2011-10-201-0/+181
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij2011-09-139-21/+48
| | | | places.
* s4-python: Add more module docstrings.Jelmer Vernooij2010-12-058-0/+16
|
* talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2010-11-052-8/+10
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-212-4/+4
|
* rpc_talloc: Update test now that we create fewer references.Jelmer Vernooij2010-09-201-7/+4
|
* pytestrpc: Be more verbose.Jelmer Vernooij2010-09-201-4/+6
|
* testrpc: Convert from a single unit test to a simple test script, beJelmer Vernooij2010-09-201-18/+32
| | | | more verbose.
* pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij2010-09-201-1/+1
|
* pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij2010-09-031-1/+1
|
* s4-pidl: added a test for all generated rpc interfacesAndrew Tridgell2010-09-021-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.
* s4-pyrpc: convert rpc_talloc.py test to unittest frameworkAndrew Tridgell2010-08-261-45/+59
| | | | | | This fits in better with our test framework Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-pyrpc: added a test for talloc behaviour in pidl python codeAndrew Tridgell2010-08-251-0/+56
|
* s4 python: Add unit tests related to PyLong/PyInt handlingMatthieu Patou2010-06-251-2/+11
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-247-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>
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-197-16/+20
| | | | setUp methods are called, fix formatting.
* s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij2010-06-131-6/+6
| | | | | | command-line options. This is the first step towards supporting custom test runners.
* General cleanups of python code, hinted by pyflakes.Jelmer Vernooij2010-03-011-0/+1
|
* Add init file for DCE/RPC tests.Jelmer Vernooij2009-09-241-0/+20
|
* PEP8Jelmer Vernooij2009-09-246-3/+6
|
* Revert "s4:python fixed subunit tests of dcerpc"Jelmer Vernooij2009-09-246-0/+314
| | | | This reverts commit ffd48a79ee34dc90c0f6f16564c3a0de8b53d3d2.
* s4:python fixed subunit tests of dcerpcAndrew Tridgell2009-09-046-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.
* s4: Major rework of the LDB/SAMDB/IDMAP python bindingsMatthias Dieter Wallnöfer2009-08-171-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)
* python: Fix samba4.dcerpc.rpcecho.RpcEchoTests.test_surrounding test.Jelmer Vernooij2009-06-081-1/+1
|
* Add str() for policy_handles.Andrew Bartlett2009-04-211-1/+6
| | | | Pair programmed with Jelmer
* python/dcerpc: Custom implementations of policy_handle.__init__ and ↵Andrew Bartlett2009-04-211-0/+11
| | | | | | policy_handle.__repr__ pair-programmed with Jelmer
* python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and ↵Andrew Bartlett2009-04-211-0/+48
| | | | GUID.__cmp__.
* Fix test_surrounding in samba4.rpcecho.python.Jelmer Vernooij2009-03-021-1/+1
|
* Use new style python classes.Jelmer Vernooij2008-08-013-0/+4
| | | | (This used to be commit 2a39aae0cef310a79427feb1b85f6794ea36849a)
* Fix the samba4.dcerpc.bare.python test.Andrew Bartlett2008-05-301-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)
* Fix rpcecho test.Andrew Bartlett2008-05-301-1/+1
| | | | (This used to be commit df8399ba9dee9d1c706a3e56451c9f2cade96dae)
* Fix missing colon.Jelmer Vernooij2008-05-251-1/+1
| | | | (This used to be commit 6b1576f544e2ea2b5ea0b234b724c4989dd49cca)
* Expose transfer and abstract syntax.Jelmer Vernooij2008-05-252-5/+12
| | | | (This used to be commit a875e07a37568b7e51c290074d5e3834c2caa4d6)
* Add support for secondary contexts from Python.Jelmer Vernooij2008-05-252-0/+17
| | | | (This used to be commit 16d1ad050546ae6500153438db8d3c857e6f3ad5)
* Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.Jelmer Vernooij2008-05-241-0/+30
| | | | (This used to be commit e3178d522c95871f1db35d7e058906502387a553)
* Add convenience functions for setting Python objects from errors.Jelmer Vernooij2008-05-241-0/+5
| | | | (This used to be commit f1de723b89251cbc8140b838941f304a34871bf3)
* Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.Jelmer Vernooij2008-05-241-0/+12
| | | | (This used to be commit 468d35827fd055c82c6d43d6ce6d3d561abed54d)
* Fix bugs in samr python tests.Jelmer Vernooij2008-05-231-1/+1
| | | | (This used to be commit 09c6b106ac144820b8c072bda4dad3d8e2145ff0)
* Add another test toe the python samr testsuite.Jelmer Vernooij2008-05-231-2/+18
| | | | (This used to be commit 480884c696c676bb978e9197271b99cc03bb66e6)