summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-10 12:37:00 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-10 12:37:00 +0100
commit73d03fb9de4dc1b7ce240076f0e0e81772373953 (patch)
tree93f4d5f976d1598fbfbc0883641a12779c78578c /morphlib/localrepocache_tests.py
parente37bf4295d3d0fe52571a7f93c52a72b57373417 (diff)
downloadmorph-73d03fb9de4dc1b7ce240076f0e0e81772373953.tar.gz
Fix unit test to remember it's created a file when faking a download
Diffstat (limited to 'morphlib/localrepocache_tests.py')
-rw-r--r--morphlib/localrepocache_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/localrepocache_tests.py b/morphlib/localrepocache_tests.py
index 66a0a3e5..6ab5d7c5 100644
--- a/morphlib/localrepocache_tests.py
+++ b/morphlib/localrepocache_tests.py
@@ -65,6 +65,7 @@ class LocalRepoCacheTests(unittest.TestCase):
def fake_fetch(self, url, path):
self.fetched.append(url)
+ self.cache.add(path)
return True
def test_has_not_got_relative_repo_initially(self):