[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] new python authz tests

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-05-06 01:15:17 CEST


attached patch will expand the coverage of the python authz tests.

While the patch doesn't cover all possible authz scenario's (no test for
properties now), both positive and (mostly)negative read/write access for
files&folders manipulations is covered. I choose to only use direct
repository actions instead of going through the working copy. I suppose by
doing this I don't skip any authz validations?

Currently only ra_svn is supported. The two tests authz_read_access &
authz_write_access both write a custom authz file in the generated test
repository. If someone knows how to make these tests function over the
ra_dav layer, please let me know.

I see this as a first step in complete authz test coverage, any input is



Add extra tests for authz validation

Patch by: Lieven Govaerts <lgo@mobsol.be>

* subversion/tests/cmdline/authz_tests.py:
  (authz_read_access): new authz test for read access
  (authz_write_access): new authz test for write access

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat May 6 01:19:25 2006

This is an archived mail posted to the Subversion Dev mailing list.