summaryrefslogtreecommitdiffstats
path: root/tests/test_update_manpages.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_update_manpages.py')
-rw-r--r--tests/test_update_manpages.py5
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
17import unittest 17import unittest
18import tests.update_manpages as um 18
19from release import update_manpages
19 20
20 21
21class UpdateManpagesTest(unittest.TestCase): 22class 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')