summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache_tests.py
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-11-11 09:19:18 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-11-20 16:44:33 +0000
commitb549c36dd6359aa22f8636bee7204c4df338b4f6 (patch)
tree8b36eadbe404f4925637b1b0292c0523a1540a93 /morphlib/localrepocache_tests.py
parentfad8048de66fe6aeaa0478864914bb773f51ed3e (diff)
downloadmorph-b549c36dd6359aa22f8636bee7204c4df338b4f6.tar.gz
Remove old cruft
Static analysis showed this code is not being used, and we can always bring it back if necessary through git. Change-Id: Id8bf7d73436b5c3d0dfe050befaae034a05afc86
Diffstat (limited to 'morphlib/localrepocache_tests.py')
-rw-r--r--morphlib/localrepocache_tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/morphlib/localrepocache_tests.py b/morphlib/localrepocache_tests.py
index 898894db..c4ccdbab 100644
--- a/morphlib/localrepocache_tests.py
+++ b/morphlib/localrepocache_tests.py
@@ -50,7 +50,6 @@ class LocalRepoCacheTests(unittest.TestCase):
self.cache_path = '%s/%s' % (self.cachedir, escaped_url)
self.remotes = {}
self.fetched = []
- self.removed = []
self.lrc = morphlib.localrepocache.LocalRepoCache(
FakeApplication(), self.cachedir, repo_resolver, tarball_base_url)
self.lrc.fs = fs.memoryfs.MemoryFS()
@@ -137,8 +136,6 @@ class LocalRepoCacheTests(unittest.TestCase):
def test_fetches_tarball_when_it_exists(self):
self.lrc._fetch = lambda url, path: self.fetched.append(url)
- self.unpacked_tar = ""
- self.mkdir_path = ""
with morphlib.gitdir_tests.monkeypatch(
morphlib.cachedrepo.CachedRepo, 'update', lambda self: None):