view tests/test-hgwebdirsym.out @ 10716:5f92bde72eef

check-code: Only call check-code if __name__ = "__main__". This changeset moves the code that actually executes something to the "if __name__ = '__main__'" section to allow the file to be imported as a module.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 16 Mar 2010 19:52:56 +0100
parents 63bdfcc3eaaf
children
line wrap: on
line source

adding a
adding b
adding c
% should succeed
200 Script output follows


/al/
/b/
/c/

200 Script output follows

a
200 Script output follows

b
200 Script output follows

c
% should fail
404 Not Found


error: repository circle not found
404 Not Found


error: repository circle not found
404 Not Found


error: repository circle not found
% collections errors