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

Re: svn commit: r1067380 [1/3] - in /subversion/trunk/subversion/tests/cmdline: ./ svntest/

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 07 Feb 2011 13:34:37 +0000

hwright_at_apache.org writes:

> Author: hwright
> Date: Sat Feb 5 02:17:32 2011
> New Revision: 1067380
>
> URL: http://svn.apache.org/viewvc?rev=1067380&view=rev
> Log:
> Use Python decorators to denote XFail, Skip, SkipUnless and Wimp tests. Also,
> add Issue decorators where appropriate.

authz_tests.py defines two tests: wc_wc_copy and wc_wc_copy_revert, and
the second test calls the first:

  @Skip(svntest.main.is_ra_type_file)
  def wc_wc_copy(sbox):
    "wc-to-wc copy with absent nodes"
    ...

  @Skip(svntest.main.is_ra_type_file)
  def wc_wc_copy_revert(sbox):
    "wc-to-wc copy with absent nodes and then revert"

    wc_wc_copy(sbox)
    ...

and this now fails with:

  File "/home/pm/sw/subversion/src/subversion/tests/cmdline/authz_tests.py", lin
e 1049, in wc_wc_copy_revert
    wc_wc_copy(sbox)
AttributeError: _Skip instance has no __call__ method

-- 
Philip
Received on 2011-02-07 14:35:23 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.