We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcde68 commit 32cba7aCopy full SHA for 32cba7a
mysql/tests/test_mysql.py
@@ -17,6 +17,17 @@ def test_docker_run_mysql():
17
assert row[0].startswith('5.7.17')
18
19
20
+@pytest.mark.skipif(is_arm(), reason='mysql container not available for ARM')
21
+def test_docker_run_mysql_8():
22
+ config = MySqlContainer('mysql:8')
23
+ with config as mysql:
24
+ engine = sqlalchemy.create_engine(mysql.get_connection_url())
25
+ with engine.begin() as connection:
26
+ result = connection.execute(sqlalchemy.text("select version()"))
27
+ for row in result:
28
+ assert row[0].startswith('8')
29
+
30
31
def test_docker_run_mariadb():
32
with MySqlContainer("mariadb:10.6.5").maybe_emulate_amd64() as mariadb:
33
engine = sqlalchemy.create_engine(mariadb.get_connection_url())
0 commit comments