def test_description_is_greater_than_0(self): """ Check if the size of the string is more than 1 Return true if it meets the size requirements """ description_string = Todo(description="Checking the size") self.assertEqual(description_string.description_is_more_than_0(), True)
def test_description_is_equal_to_0(self): description_string = Todo(description="") self.assertEqual( description_string.description_is_more_than_0(), False, )