Skip to content

Commit

Permalink
express better test intent
Browse files Browse the repository at this point in the history
  • Loading branch information
sdvillal committed Aug 2, 2015
1 parent 1975a21 commit 6bd7571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whatami/tests/test_what.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ class Fool(object):
def __init__(self):
self.faker = Faker()

assert whatareyou(Fool()).id() != "Fool(faker='Fool you; Faker')"
assert 'Fool you; Faker' not in whatareyou(Fool()).id()
assert whatareyou(Fool()).id() == 'Fool(faker=Faker())'


Expand Down

0 comments on commit 6bd7571

Please sign in to comment.