Mercurial > kallithea
comparison rhodecode/tests/vcs/test_utils.py @ 3797:d7488551578e beta
synced vcs with upstream
- moved subprocessio module to VCS
- many small changes to make embedded vcs as similar to to external lib
- use only absolute imports
- patch vcs config during load pylons env
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 27 Apr 2013 11:24:25 +0200 |
parents | 1cb10d6abd7b |
children | 7e5f8c12a3fc |
comparison
equal
deleted
inserted
replaced
3796:2b5f94fc3b7a | 3797:d7488551578e |
---|---|
16 from rhodecode.lib.vcs.utils.helpers import parse_datetime | 16 from rhodecode.lib.vcs.utils.helpers import parse_datetime |
17 from rhodecode.lib.vcs.utils import author_email, author_name | 17 from rhodecode.lib.vcs.utils import author_email, author_name |
18 from rhodecode.lib.vcs.utils.paths import get_user_home | 18 from rhodecode.lib.vcs.utils.paths import get_user_home |
19 from rhodecode.lib.vcs.exceptions import VCSError | 19 from rhodecode.lib.vcs.exceptions import VCSError |
20 | 20 |
21 from conf import TEST_HG_REPO, TEST_GIT_REPO, TEST_TMP_PATH | 21 from rhodecode.tests.vcs.conf import TEST_HG_REPO, TEST_GIT_REPO, TEST_TMP_PATH |
22 | 22 |
23 | 23 |
24 class PathsTest(unittest.TestCase): | 24 class PathsTest(unittest.TestCase): |
25 | 25 |
26 def _test_get_dirs_for_path(self, path, expected): | 26 def _test_get_dirs_for_path(self, path, expected): |