summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache_tests.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-04-19 12:21:17 +0100
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-04-19 12:21:17 +0100
commitbaee268b9f0d6a3dfc04661023bc78dfda3f2f0e (patch)
tree835c0fc10125bdeadb9095e4a44bebbc06136d3d /morphlib/localrepocache_tests.py
parentbca1f1ec2b1723e950354132ef591eb7b4f7620a (diff)
downloadmorph-baee268b9f0d6a3dfc04661023bc78dfda3f2f0e.tar.gz
Fix LocalRepoCache tests.
Diffstat (limited to 'morphlib/localrepocache_tests.py')
-rw-r--r--morphlib/localrepocache_tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/localrepocache_tests.py b/morphlib/localrepocache_tests.py
index f221b9ee..76c21316 100644
--- a/morphlib/localrepocache_tests.py
+++ b/morphlib/localrepocache_tests.py
@@ -46,9 +46,9 @@ class LocalRepoCacheTests(unittest.TestCase):
def fake_git(self, args, cwd=None):
if args[0] == 'clone':
- self.assertEqual(len(args), 3)
- remote = args[1]
- local = args[2]
+ self.assertEqual(len(args), 4)
+ remote = args[2]
+ local = args[3]
if local in self.cache:
raise Exception('cloning twice to %s' % local)
self.remotes['origin'] = {'url': remote, 'updates': 0}