summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-05-03 14:37:33 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-05-04 14:24:07 +0100
commit74773a6ba77719eb74103ca21b38393d5d608bb2 (patch)
tree47a2a700ef16ea827fb784305e2cb0d618f40df4 /morphlib/localrepocache_tests.py
parentdac0e52f5aebcd99fdaf6e9f7df05a4597c17d43 (diff)
downloadmorph-74773a6ba77719eb74103ca21b38393d5d608bb2.tar.gz
Remove use of baseurls in LocalRepoCache
The tests, they still fail.
Diffstat (limited to 'morphlib/localrepocache_tests.py')
-rw-r--r--morphlib/localrepocache_tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/morphlib/localrepocache_tests.py b/morphlib/localrepocache_tests.py
index 917de598..aa888885 100644
--- a/morphlib/localrepocache_tests.py
+++ b/morphlib/localrepocache_tests.py
@@ -84,6 +84,12 @@ class LocalRepoCacheTests(unittest.TestCase):
def test_expands_shortened_url_correctly_for_pushing(self):
self.assertEqual(self.lrc.push_url(self.reponame), self.pushurl)
+ def test_expands_full_url_correctly_for_pulling(self):
+ self.assertEqual(self.lrc.pull_url(self.repourl), self.repourl)
+
+ def test_expands_full_url_correctly_for_pushing(self):
+ self.assertEqual(self.lrc.push_url(self.pushurl), self.pushurl)
+
def test_has_not_got_shortened_repo_initially(self):
self.assertFalse(self.lrc.has_repo(self.reponame))