Решение на Родословно дърво от Орлин Христов
Обратно към всички решения
Към профила на Орлин Христов
Резултати
- 0 точки от тестове
- 0 бонус точки
- 0 точки общо
- 0 успешни тест(а)
- 11 неуспешни тест(а)
Код
Лог от изпълнението
EEEEEEEEEEE
======================================================================
ERROR: test_attributes (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_children (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_father_has_daughter (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_father_has_son (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_has_brother (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_has_no_brother (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_has_no_sister (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_has_sister (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_indirect_successor (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_mother_has_daughter (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
======================================================================
ERROR: test_mother_has_son (test.PersonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/d20130408-29081-jfy2ds/test.py", line 10, in setUp
father=self.adam, mother=self.eva)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 11, in __init__
parent._register_child(self)
File "/tmp/d20130408-29081-jfy2ds/solution.py", line 19, in _register_child
self.children.add(child)
AttributeError: 'dict' object has no attribute 'add'
----------------------------------------------------------------------
Ran 11 tests in 0.004s
FAILED (errors=11)
История (10 версии и 1 коментар)
Орлин обнови решението на 26.03.2013 16:42 (преди над 11 години)
Орлин обнови решението на 26.03.2013 17:00 (преди над 11 години)
Орлин обнови решението на 26.03.2013 17:02 (преди над 11 години)
Орлин обнови решението на 27.03.2013 12:55 (преди над 11 години)
Орлин обнови решението на 27.03.2013 12:55 (преди над 11 години)
Орлин обнови решението на 28.03.2013 22:25 (преди над 11 години)
Орлин обнови решението на 28.03.2013 22:29 (преди над 11 години)
Орлин обнови решението на 29.03.2013 04:36 (преди над 11 години)
Орлин обнови решението на 29.03.2013 04:37 (преди над 11 години)
Орлин обнови решението на 29.03.2013 04:47 (преди над 11 години)