Skip to content

Commit 48b658b

Browse files
author
David Erb
committed
default 127.0.0.1 for test host
1 parent 7a22466 commit 48b658b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_aiomysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AiomysqlTester(BaseTester):
3434
async def _main_coroutine(self, database_specification, output_directory):
3535
""" """
3636

37-
host = Envvar("MYSQL_HOST")
37+
host = Envvar("MYSQL_HOST", default="127.0.0.1")
3838
assert host.is_set
3939
port = Envvar("MYSQL_PORT", default=3306)
4040
assert port.is_set

tests/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test(self, logging_setup, output_directory):
3737
Tests the mysql implementation of Database.
3838
"""
3939

40-
host = Envvar("MYSQL_HOST")
40+
host = Envvar("MYSQL_HOST", default="127.0.0.1")
4141
assert host.is_set
4242
port = Envvar("MYSQL_PORT", default=3306)
4343
assert port.is_set

0 commit comments

Comments
 (0)