Skip to content

Commit

Permalink
default 127.0.0.1 for test host
Browse files Browse the repository at this point in the history
  • Loading branch information
David Erb committed May 26, 2023
1 parent 7a22466 commit 48b658b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_aiomysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AiomysqlTester(BaseTester):
async def _main_coroutine(self, database_specification, output_directory):
""" """

host = Envvar("MYSQL_HOST")
host = Envvar("MYSQL_HOST", default="127.0.0.1")
assert host.is_set
port = Envvar("MYSQL_PORT", default=3306)
assert port.is_set
Expand Down
2 changes: 1 addition & 1 deletion tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test(self, logging_setup, output_directory):
Tests the mysql implementation of Database.
"""

host = Envvar("MYSQL_HOST")
host = Envvar("MYSQL_HOST", default="127.0.0.1")
assert host.is_set
port = Envvar("MYSQL_PORT", default=3306)
assert port.is_set
Expand Down

0 comments on commit 48b658b

Please sign in to comment.