summaryrefslogtreecommitdiff
path: root/source4/torture/drs/python/repl_schema.py
AgeCommit message (Collapse)AuthorFilesLines
2011-02-20s4/drs-tests: Inherit DrsReplSchemaTestCase from DrsBaseTestCaseKamen Mazdrashki1-45/+2
and remove duplicated functionality
2011-02-02s4-python Ensure we add the Samba python path first.Andrew Bartlett1-1/+1
This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
2011-01-03Use TestCase.get_credentials() where possible.Jelmer Vernooij1-1/+1
2010-12-15s4-test/repl_schema: remove unused and commented out codeKamen Mazdrashki1-3/+0
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
2010-12-15s4-test/repl_schema: Make sure every object is with unique nameKamen Mazdrashki1-2/+5
This way, test writer don't have to be careful to choose unique objects suffix
2010-12-15s4-test/repl_schema: use 'top' as default base class for our test ↵Kamen Mazdrashki1-1/+1
classSchema objects Otherwise we will end up passing whole inheritance chain every time we create some new fancy classSchema object (as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test)
2010-12-15s4-test/repl_schema: New test to test a classSchema with custom attributeKamen Mazdrashki1-0/+24
Create new Attribute and a Class, that has value for newly created attribute. This should check code path that searches for AttributeID_id in Schema cacheThis test. It also tests how we replicate a leaf classSchema that inherits from a new classSchema with attribute added - tests both dsdb_attribute_drsuapi_to_ldb() and _dsdb_syntax_OID_obj_drsuapi_to_ldb() syntax handler
2010-12-02s4-test/repl_schema: Test class inheritance through subClassOfKamen Mazdrashki1-1/+26
2010-12-02s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to usKamen Mazdrashki1-0/+1
We've lost this import somehow, now it is back in :)
2010-12-02s4-test/repl_schema: Test classSchema and attributeSchema replication in ↵Kamen Mazdrashki1-0/+18
separate tests
2010-12-01s4-test/schema: Extend the test to replicate a Class with Attribute with ↵Kamen Mazdrashki1-2/+10
"mayContain" relation Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 1 13:30:45 CET 2010 on sn-devel-104
2010-11-29s4-repl_schema: fixed ldb exception handlingAndrew Tridgell1-2/+4
2010-11-28s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij1-4/+6
2010-11-23s4-test/repl_schema: Refactor the test a little bit toKamen Mazdrashki1-31/+59
- Cleanup imports - make sure we have testtools and subunit imported - use dictionaries instead of LDIFs for schema modification so now callers for _make_class can easily add new attributes for created class - simplify a little bit classSchema creation - test attributeSchema replication Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Nov 23 18:44:46 CET 2010 on sn-devel-104
2010-11-22s4-test/repl_schema: Remote global ldb connectionsKamen Mazdrashki1-25/+7
Although unlikely, Jelmer pointed out that using persistent SamDB connections between test may interfere with tests behaviour (and is not xUnit compliant anyway) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104
2010-11-11s4-test: repl_schema - Make sure LdbError and ERR_NO_SUCH_OBJECT are visibleKamen Mazdrashki1-0/+1
2010-11-08s4-test: Initial implementation for Schema replication black box testKamen Mazdrashki1-0/+174