Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. test_a_counting_points_and_ending_turn (unittester.TestaaNoppapeli) ... ERROR
  2. test_b_lockbuttons (unittester.TestaaNoppapeli) ... ERROR
  3.  
  4. ======================================================================
  5. ERROR: test_a_counting_points_and_ending_turn (unittester.TestaaNoppapeli)
  6. ----------------------------------------------------------------------
  7. Traceback (most recent call last):
  8. File "/submission/user/unittester_base.py", line 49, in new_f
  9. return f(*args)
  10. File "/submission/user/unittester.py", line 32, in test_a_counting_points_and_ending_turn
  11. if sum(kali._Dicegame__current_dice_score) != kali._Dicegame__player_points[0] or \
  12. IndexError: list index out of range
  13.  
  14. ======================================================================
  15. ERROR: test_b_lockbuttons (unittester.TestaaNoppapeli)
  16. ----------------------------------------------------------------------
  17. Traceback (most recent call last):
  18. File "/submission/user/unittester_base.py", line 49, in new_f
  19. return f(*args)
  20. File "/submission/user/unittester.py", line 83, in test_b_lockbuttons
  21. kali = ohjelma.Dicegame()
  22. File "/submission/user/ohjelma.py", line 78, in __init__
  23. self.initialize_game()
  24. File "/submission/user/ohjelma.py", line 97, in initialize_game
  25. label.configure(image=self.__dicepics[0])
  26. File "/usr/lib/python3.6/tkinter/__init__.py", line 1485, in configure
  27. return self._configure('configure', cnf, kw)
  28. File "/usr/lib/python3.6/tkinter/__init__.py", line 1476, in _configure
  29. self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
  30. _tkinter.TclError: image "pyimage7" doesn't exist
  31.  
  32. ----------------------------------------------------------------------
  33. Ran 2 tests in 0.130s
  34.  
  35. FAILED (errors=2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement