Permalink
Browse files

Better assertion failure message

  • Loading branch information...
1 parent e0e547f commit 70a24caf644b0a1337b2815b909d781985751f05 @fsouza fsouza committed Sep 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_mongoalchemy_object.py
@@ -102,7 +102,7 @@ def should_be_able_to_create_two_decoupled_mongoalchemy_instances(self):
app.config['MONGOALCHEMY_DATABASE'] = 'my_database'
db1 = MongoAlchemy(app)
db2 = MongoAlchemy(app)
- assert db1.Document is not db2.Document, "two document should be totally different"
+ assert db1.Document is not db2.Document, "two documents should not be the same object"
def teardown(self):
del(self.app)

0 comments on commit 70a24ca

Please sign in to comment.