diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-03-06 15:53:05 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-03-06 19:25:00 +0000 |
commit | b3a92a22969b5131aacd7294a3105507125cc3ab (patch) | |
tree | e977fcb8d65d34e3f32d610f5644182d4bb427be /morphlib/sysbranchdir_tests.py | |
parent | a0fe3ebf760839ac6b95ff888ed79e0b88dd5f0e (diff) | |
download | morph-b3a92a22969b5131aacd7294a3105507125cc3ab.tar.gz |
Fix system branch dirname generation to avoid colons
Diffstat (limited to 'morphlib/sysbranchdir_tests.py')
-rw-r--r-- | morphlib/sysbranchdir_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/sysbranchdir_tests.py b/morphlib/sysbranchdir_tests.py index 7ec8ef5c..8b40f69c 100644 --- a/morphlib/sysbranchdir_tests.py +++ b/morphlib/sysbranchdir_tests.py @@ -1,4 +1,4 @@ -# Copyright (C) 2013 Codethink Limited +# Copyright (C) 2013-2014 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -149,7 +149,7 @@ class SystemBranchDirectoryTests(unittest.TestCase): self.system_branch_name) self.assertEqual( sb.get_git_directory_name('baserock:baserock/morph'), - os.path.join(self.root_directory, 'baserock:baserock/morph')) + os.path.join(self.root_directory, 'baserock/baserock/morph')) def test_reports_correct_name_for_git_directory_from_real_url(self): stripped = 'git.baserock.org/baserock/baserock/morph' @@ -169,7 +169,7 @@ class SystemBranchDirectoryTests(unittest.TestCase): self.system_branch_name) self.assertEqual( sb.get_filename('test:chunk', 'foo'), - os.path.join(self.root_directory, 'test:chunk/foo')) + os.path.join(self.root_directory, 'test/chunk/foo')) def test_reports_correct_name_for_git_directory_from_file_url(self): stripped = 'foobar/morphs' |