def test_check_alignment_returns_left_when_input_is_not_recognized_string(self): s = u"random" expected = u"left" result = utility.check_alignment(s) self.assertEqual(expected, result)
def test_check_alignment_returns_left_when_input_is_empty_string(self): s = u"" expected = u"left" result = utility.check_alignment(s) self.assertEqual(expected, result)
def test_check_alignment_returns_center_when_input_is_colon_dash_colon(self): s = u":-:" expected = u"center" result = utility.check_alignment(s) self.assertEqual(expected, result)