summaryrefslogtreecommitdiff
path: root/morphlib/sysbranchdir_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/sysbranchdir_tests.py')
-rw-r--r--morphlib/sysbranchdir_tests.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/morphlib/sysbranchdir_tests.py b/morphlib/sysbranchdir_tests.py
index 341fedca..6dd6fc6d 100644
--- a/morphlib/sysbranchdir_tests.py
+++ b/morphlib/sysbranchdir_tests.py
@@ -198,18 +198,11 @@ class SystemBranchDirectoryTests(unittest.TestCase):
def test_lists_git_directories(self):
- def fake_git_clone(dirname, url, branch):
- os.mkdir(dirname)
- subdir = os.path.join(dirname, '.git')
- os.mkdir(subdir)
-
sb = morphlib.sysbranchdir.create(
self.root_directory,
self.root_repository_url,
self.system_branch_name)
- sb._git_clone = fake_git_clone
-
cached_repo = self.create_fake_cached_repo()
sb.clone_cached_repo(cached_repo, 'master')