comparison tests/test_checkout.txt @ 27:901755a65249

start stubbing checkout
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 30 May 2011 21:21:42 -0700
parents
children e0cc2fae92bd
comparison
equal deleted inserted replaced
26:8179c05d7692 27:901755a65249
1 Test Checkout
2 =============
3
4
5 Boilerplate::
6
7 >>> from buttercup import source
8
9 Stub call method to test what is to be done::
10
11 >>> source.call = lambda *x, **kw: ' '.join(x[0])
12
13 Test __call__ method::
14
15 >>> pyloader = 'http://k0s.org/hg/pyloader'
16 >>> hgsource = source.HgSource(pyloader)
17 >>> hgsource()