summaryrefslogtreecommitdiff
path: root/morphlib/cachedrepo_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-05-03 11:23:56 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-05-04 14:24:07 +0100
commit66327f8eb3cec93b53a3dcc948369ba48c9ad50a (patch)
tree1ed39c3f8269c3a06b4438ce9f65e37172c05ce1 /morphlib/cachedrepo_tests.py
parent73e46e9e284c88ddd9e984844f02ab98d635d8a9 (diff)
downloadmorph-66327f8eb3cec93b53a3dcc948369ba48c9ad50a.tar.gz
Relax CachedRepo.checkout requirement that ref is a sha1
Diffstat (limited to 'morphlib/cachedrepo_tests.py')
-rw-r--r--morphlib/cachedrepo_tests.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/morphlib/cachedrepo_tests.py b/morphlib/cachedrepo_tests.py
index 72624f36..127a866b 100644
--- a/morphlib/cachedrepo_tests.py
+++ b/morphlib/cachedrepo_tests.py
@@ -152,11 +152,6 @@ class CachedRepoTests(unittest.TestCase):
'e28a23812eadf2fce6583b8819b9c5dbd36b9fb9',
self.tempdir.dirname)
- def test_fail_checkout_from_named_ref_which_is_not_allowed(self):
- self.assertRaises(cachedrepo.UnresolvedNamedReferenceError,
- self.repo.checkout, 'master',
- self.tempdir.join('checkout-from-named-ref'))
-
def test_fail_checkout_from_invalid_ref(self):
self.assertRaises(cachedrepo.InvalidReferenceError, self.repo.checkout,
'079bbfd447c8534e464ce5d40b80114c2022ebf4',