From e0728a5ecdf49f26a0663284acd0fca1099bba15 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Dec 2022 01:39:02 -0500 Subject: 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 Reviewed-by: LaMont Jones --- tests/test_update_manpages.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/test_update_manpages.py') 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 @@ """Unittests for the update_manpages module.""" import unittest -import tests.update_manpages as um + +from release import update_manpages class UpdateManpagesTest(unittest.TestCase): @@ -24,4 +25,4 @@ class UpdateManpagesTest(unittest.TestCase): def test_replace_regex(self): """Check that replace_regex works.""" data = '\n\033[1mSummary\033[m\n' - self.assertEqual(um.replace_regex(data),'\nSummary\n') + self.assertEqual(update_manpages.replace_regex(data),'\nSummary\n') -- cgit v1.2.3-54-g00ecf