def test_raises_type_error_when_arg_1_is_none(self): with self.assertRaises(TypeError): linenumber.is_more_indented("", None)
def test_returns_true_when_string_prior_is_less_indented(self): self.assertTrue(linenumber.is_more_indented(" a,", " b"))
def test_returns_false_when_string_prior_is_more_indented(self): self.assertFalse(linenumber.is_more_indented(" a", " b"))
def test_returns_false_when_strings_have_equal_indentation(self): self.assertFalse(linenumber.is_more_indented(" a", " b"))