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

Re: 1233 - Properties in the client unit tests

From: <cmpilato_at_collab.net>
Date: 2003-04-28 16:35:26 CEST

Matthew Hambley <matthew@aether.demon.co.uk> writes:

> In message <86k7dgatst.fsf@kepler.ch.collab.net>
> Ben Collins-Sussman <sussman@collab.net> wrote:
>
> > Matthew Hambley <matthew@aether.demon.co.uk> writes:
> >
> > > So where have the properties gone? Well the walk-back at the end
> > > suggests that it's a problem in the repository. (Ignoring for the
> > > moment that the property was there previously) So I cd into
> > > working_copies/basic_tests-14 and do a 'svn propget svn:mime-type
> > > new_file' which returns 'text/plain' as expected.
> >
> > Let me give you a clue: look at the last argument to
> > svntest.actions.run_and_verify_update(). It's a boolean that indicates
> > whether props should be scanned from the working copy. It's off by
> > default, because most of the time we don't care about them, and having it
> > turned on drastically slows down our tests.
>
> Thanks for the suggestion but if you check basic_test.py, basic_import(..)
> you will see that that parameter is already set to '1'.

Right. Because in that test, we actually want to verify properties.
In order for this test to pass for you, you'll need to tell the test
suite what mime-type properties to expect for every file in the
working copy. See other tests which deal with props for examples.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 28 16:43:56 2003

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