Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test_a_counting_points_and_ending_turn (unittester.TestaaNoppapeli) ... ERROR
- test_b_lockbuttons (unittester.TestaaNoppapeli) ... ERROR
- ======================================================================
- ERROR: test_a_counting_points_and_ending_turn (unittester.TestaaNoppapeli)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/submission/user/unittester_base.py", line 49, in new_f
- return f(*args)
- File "/submission/user/unittester.py", line 32, in test_a_counting_points_and_ending_turn
- if sum(kali._Dicegame__current_dice_score) != kali._Dicegame__player_points[0] or \
- IndexError: list index out of range
- ======================================================================
- ERROR: test_b_lockbuttons (unittester.TestaaNoppapeli)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/submission/user/unittester_base.py", line 49, in new_f
- return f(*args)
- File "/submission/user/unittester.py", line 83, in test_b_lockbuttons
- kali = ohjelma.Dicegame()
- File "/submission/user/ohjelma.py", line 78, in __init__
- self.initialize_game()
- File "/submission/user/ohjelma.py", line 97, in initialize_game
- label.configure(image=self.__dicepics[0])
- File "/usr/lib/python3.6/tkinter/__init__.py", line 1485, in configure
- return self._configure('configure', cnf, kw)
- File "/usr/lib/python3.6/tkinter/__init__.py", line 1476, in _configure
- self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
- _tkinter.TclError: image "pyimage7" doesn't exist
- ----------------------------------------------------------------------
- Ran 2 tests in 0.130s
- FAILED (errors=2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement