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

Re: [PATCH] info_tests.py - Fix indentation.

From: Noorul Islam K M <noorul_at_collab.net>
Date: Tue, 26 Jul 2011 10:55:23 +0530

"Noorul Islam K M" <noorul_at_collab.net> writes:

> Attached is the patch that fixes indentation in info_tests.py.
>
> Log
> [[[
>
> * subversion/tests/cmdline/info_tests.py
> (info_show_exclude): Fix indentation, remove a redundant blank
> line, no functional change.
>
> Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
> ]]]
>
> Thanks and Regards
> Noorul
>
>
>
>
> Index: subversion/tests/cmdline/info_tests.py
> ===================================================================
> --- subversion/tests/cmdline/info_tests.py (revision 1144610)
> +++ subversion/tests/cmdline/info_tests.py (working copy)
> @@ -449,8 +449,8 @@
>
> expected_info = [{
> 'Path' : '.*%siota' % re.escape(os.sep),
> - 'Repository Root' : sbox.repo_url,
> - 'Repository UUID' : wc_uuid,
> + 'Repository Root' : sbox.repo_url,
> + 'Repository UUID' : wc_uuid,
> }]
> svntest.main.run_svn(None, 'up', '--set-depth', 'exclude', iota)
> svntest.actions.run_and_verify_info(expected_info, iota)
> @@ -469,20 +469,17 @@
>
> sbox.simple_rm('iota')
> sbox.simple_commit()
> +
> + expected_error = 'svn: E200009: Could not display info for all targets.*'
>
> # Expect error on iota (status = not-present)
> - svntest.actions.run_and_verify_svn(None, [],
> - 'svn: E200009: Could not display info for all targets.*',
> - 'info', iota)
> + svntest.actions.run_and_verify_svn(None, [], expected_error, 'info', iota)
>
> sbox.simple_update()
>
> # Expect error on iota (unversioned)
> - svntest.actions.run_and_verify_svn(None, [],
> - 'svn: E200009: Could not display info for all targets.*',
> - 'info', iota)
> + svntest.actions.run_and_verify_svn(None, [], expected_error, 'info', iota)
>
> -
> ########################################################################
> # Run the tests
>

I was going through my mails and found this one. I am not sure whether
this adds any value but I think this makes the code consistent.

Thanks and Regards
Noorul
Received on 2011-07-26 07:27:58 CEST

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.