Skip to content

Commit

Permalink
fix errors due to change of localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyinz authored Jun 8, 2022
1 parent 18f8f33 commit 854c2ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tests/test_mspass_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_init(self):
def test_default(self):
# test db_client
host, port = self.client._db_client.address
assert host == "localhost"
assert host == "127.0.0.1"
assert port == 27017

# test database_name
Expand Down Expand Up @@ -174,7 +174,7 @@ def test_get_database_client(self):
db_client = self.client.get_database_client()
assert isinstance(db_client, DBClient)
host, port = db_client.address
assert host == "localhost"
assert host == "127.0.0.1"
assert port == 27017

def test_get_database(self):
Expand Down

0 comments on commit 854c2ad

Please sign in to comment.