Skip to content

Commit

Permalink
Updating tests to match changed data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejs committed Nov 26, 2009
1 parent 4864972 commit 74f9fb9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Character_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ def test_character():
assert char['Man'] == 2
assert char['Academics'] == 1
assert char['Craft'] == 1
assert char['attack'] == 'dex firearms pistol'
assert char['attack'] == 'dex firearms pistol lightpistol'
assert char['Monky'] == 0
assert 'monky' not in char


def test_world():
Expand Down Expand Up @@ -73,7 +74,7 @@ def test_filter():
char = ideas.Character(open('mel.txt'), defaults, filters)
assert char['computer'] == -3
assert char['int'] == 2
assert char['attack'] == 6
assert char['attack'] == 7
assert char['init'] == 6
assert char['defence'] == 2

Expand All @@ -84,6 +85,6 @@ def test_world_filters():
world.load(open('mel.txt'))
char = world['Mel']
assert char['int'] == 2
assert char['attack'] == 6
assert char['attack'] == 7
assert char['computer'] == -3
assert char['init'] == 6

0 comments on commit 74f9fb9

Please sign in to comment.