diff options
author | Mike Frysinger <vapier@google.com> | 2022-12-08 01:39:02 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2022-12-12 23:04:40 +0000 |
commit | e0728a5ecdf49f26a0663284acd0fca1099bba15 (patch) | |
tree | 2edc4c54bcfd566103b94bf56d2b5410068084fe /tests/test_update_manpages.py | |
parent | d98f3935247818eb5f5ff2f3816d67c680915161 (diff) | |
download | git-repo-e0728a5ecdf49f26a0663284acd0fca1099bba15.tar.gz |
update-manpages: clean up symlink in checkout
We don't want symlinks in the git tree as it causes pain for Windows
users. We also don't really need it as we can refactor the code we
want to import slightly.
Change-Id: I4537c07c50ee9449e9f53e0f132a386e8ffe16ec
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354356
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: LaMont Jones <lamontjones@google.com>
Diffstat (limited to 'tests/test_update_manpages.py')
-rw-r--r-- | tests/test_update_manpages.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_update_manpages.py b/tests/test_update_manpages.py index f0ef72af..0de85be9 100644 --- a/tests/test_update_manpages.py +++ b/tests/test_update_manpages.py | |||
@@ -15,7 +15,8 @@ | |||
15 | """Unittests for the update_manpages module.""" | 15 | """Unittests for the update_manpages module.""" |
16 | 16 | ||
17 | import unittest | 17 | import unittest |
18 | import tests.update_manpages as um | 18 | |
19 | from release import update_manpages | ||
19 | 20 | ||
20 | 21 | ||
21 | class UpdateManpagesTest(unittest.TestCase): | 22 | class UpdateManpagesTest(unittest.TestCase): |
@@ -24,4 +25,4 @@ class UpdateManpagesTest(unittest.TestCase): | |||
24 | def test_replace_regex(self): | 25 | def test_replace_regex(self): |
25 | """Check that replace_regex works.""" | 26 | """Check that replace_regex works.""" |
26 | data = '\n\033[1mSummary\033[m\n' | 27 | data = '\n\033[1mSummary\033[m\n' |
27 | self.assertEqual(um.replace_regex(data),'\nSummary\n') | 28 | self.assertEqual(update_manpages.replace_regex(data),'\nSummary\n') |