summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache_tests.py
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-14 09:33:15 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-14 17:25:29 +0100
commite95f04846f5ecc82ce0c7e638756059442de8d23 (patch)
tree639ac8ef8f55a919aa8826a9b40122deb243b978 /morphlib/localrepocache_tests.py
parentdd4f52f311467240ea2749c773d46b751478381d (diff)
downloadmorph-e95f04846f5ecc82ce0c7e638756059442de8d23.tar.gz
Update unit tests for bare repo caches.
Update the unit tests so that they pass with the new bare repository caches.
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 dcc27728..c178f8b4 100644
--- a/morphlib/localrepocache_tests.py
+++ b/morphlib/localrepocache_tests.py
@@ -48,9 +48,9 @@ class LocalRepoCacheTests(unittest.TestCase):
def fake_git(self, args, cwd=None):
if args[0] == 'clone':
- self.assertEqual(len(args), 4)
- remote = args[2]
- local = args[3]
+ self.assertEqual(len(args), 5)
+ remote = args[3]
+ local = args[4]
if local in self.cache:
raise Exception('cloning twice to %s' % local)
self.remotes['origin'] = {'url': remote, 'updates': 0}