def test_str_task_is_done(): task = Task(title='Sprzatanie', details='poodkurzac') task.set_is_done(True) result = task.__str__() expected = 'Sprzatanie\npoodkurzac\nis done: True' assert result == expected
def test_str(): task = Task(title='Sprzatanie', details='poodkurzac') result = task.__str__() expected = 'Sprzatanie\npoodkurzac\nis done: False' assert result == expected