Make the parallelize intergration test short enough to run at
[python_utils.git] / tests / string_utils_test.py
index cc570364047382c3d0e2aee570674cc37e87c710..51848946b68c3b661cb21d6b7d38c3eaad15e5ef 100755 (executable)
@@ -2,16 +2,14 @@
 
 import unittest
 
-from ansi import fg, bg, reset
 import bootstrap
 import string_utils as su
-
 import unittest_utils as uu
+from ansi import bg, fg, reset
 
 
 @uu.check_all_methods_for_perf_regressions()
 class TestStringUtils(unittest.TestCase):
-
     def test_is_none_or_empty(self):
         self.assertTrue(su.is_none_or_empty(None))
         self.assertTrue(su.is_none_or_empty(""))
@@ -130,7 +128,7 @@ class TestStringUtils(unittest.TestCase):
         s = f' {fg("red")}  this is a test  {bg("white")}  this is a test  {reset()}  '
         self.assertEqual(
             su.strip_escape_sequences(s),
-            '   this is a test    this is a test    '
+            '   this is a test    this is a test    ',
         )
         s = ' this is another test '
         self.assertEqual(su.strip_escape_sequences(s), s)