diff options
Diffstat (limited to 'morphlib/builder_tests.py')
-rw-r--r-- | morphlib/builder_tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/morphlib/builder_tests.py b/morphlib/builder_tests.py index 2087c942..245648ba 100644 --- a/morphlib/builder_tests.py +++ b/morphlib/builder_tests.py @@ -20,6 +20,7 @@ import StringIO import unittest import morphlib +import morphlib.gitdir_tests class FakeBuildSystem(object): @@ -50,8 +51,9 @@ class FakeSource(object): } self.name = 'a' - self.repo = morphlib.cachedrepo.CachedRepo(FakeApp(), 'repo', - 'url', 'path') + with morphlib.gitdir_tests.allow_nonexistant_git_repos(): + self.repo = morphlib.cachedrepo.CachedRepo( + FakeApp(), 'repo', 'url', 'path') self.repo_name = 'url' self.original_ref = 'e' self.sha1 = 'f' |