Skip to content

Commit

Permalink
Merge pull request #95 from psi29a/more_coverage
Browse files Browse the repository at this point in the history
switch away from localhost
  • Loading branch information
psi29a committed May 15, 2015
2 parents 97bc395 + 339f58a commit 7855aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_MongoObjects(self):
conn = yield txmongo.MongoConnection(mongo_host, mongo_port)
mydb = conn.mydb
self.assertEqual(isinstance(mydb, database.Database), True)
self.assertEqual(repr(mydb), "Database(Connection('localhost', 27017), u'mydb')")
self.assertEqual(repr(mydb), "Database(Connection('127.0.0.1', 27017), u'mydb')")
self.assertEqual(repr(mydb("mydb2")), repr(mydb.__call__("mydb2")))
mycol = mydb.mycol
self.assertEqual(isinstance(mycol, collection.Collection), True)
Expand Down

0 comments on commit 7855aa9

Please sign in to comment.