Skip to content

Commit

Permalink
Example 5 & 6: Move attribute expectations to TODO
Browse files Browse the repository at this point in the history
Handling attributes will be quite invasive, let's do it in a separate
PR.
  • Loading branch information
petr-muller committed Jun 29, 2018
1 parent 362586b commit 5214b9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/examples/05.new
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
# $ example_quotes 05
# New imported 'Sequence' from new 'typing'
# Class 'Game' changed:
# New attributes 'winning_points', 'winner', 'players', 'points'
# Method '__init__' changed implementation:
# Code semantics changed
# Newly uses imported 'Sequence'
# New method '__str__'
# $
# TODO:
# New attributes 'winning_points', 'winner', 'players', 'points'

"""Log of a single VtES game"""

Expand Down
7 changes: 4 additions & 3 deletions tests/examples/06.new
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
#
# $ example_quotes 06
# New imported package 're'
# New module-level variable 'PLAYER_PATTERN'
# Class 'Game' changed:
# Removed attributes 'players', 'points'
# New attribute 'player_results'
# Method '__init__' changed implementation:
# Code semantics changed
# Method '__str__' changed implementation:
Expand All @@ -16,6 +13,10 @@
# New class 'Player' with 0 public methods
# New function 'parse_player'
# $
# TODO:
# New module-level variable 'PLAYER_PATTERN'
# Removed attributes 'players', 'points'
# New attribute 'player_results'

"""Log of a single VtES game"""

Expand Down

0 comments on commit 5214b9c

Please sign in to comment.