MCPcopy Create free account
hub / github.com/aws/aws-cli / test_string_to_print

Method test_string_to_print

tests/unit/customizations/logs/test_ui.py:215–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213 self.assertNotEqual(keyword_1._color, keyword_2._color)
214
215 def test_string_to_print(self):
216 text = "INFO"
217 self.keyword = Keyword(text)
218
219 self.assertEqual(
220 colorama.Fore.GREEN
221 + text.lower()
222 + colorama.Style.RESET_ALL
223 + ": 0",
224 self.keyword.get_string_to_print(),
225 )
226
227 def test_add_color_to_string(self):
228 text = "INFO"

Callers

nothing calls this directly

Calls 2

KeywordClass · 0.90
get_string_to_printMethod · 0.80

Tested by

no test coverage detected