From: Mike Bayer Date: Mon, 13 Feb 2017 19:33:21 +0000 (-0500) Subject: - pull autocommit suite into the mysql suite as well X-Git-Tag: rel_1_1_6~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e54f9fc078d13ebbd8a685697983e48997bcd3e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - pull autocommit suite into the mysql suite as well Change-Id: If1106f7f125739e69ad2482f65b8f37672a76c9e --- diff --git a/test/dialect/mysql/test_dialect.py b/test/dialect/mysql/test_dialect.py index 37c613e726..3f6e7e5168 100644 --- a/test/dialect/mysql/test_dialect.py +++ b/test/dialect/mysql/test_dialect.py @@ -6,6 +6,7 @@ from sqlalchemy.engine.url import make_url from sqlalchemy.testing import fixtures from sqlalchemy import testing from sqlalchemy.testing import engines +from ...engine import test_execute import datetime @@ -190,3 +191,11 @@ class ExecutionTest(fixtures.TestBase): def test_sysdate(self): d = testing.db.scalar(func.sysdate()) assert isinstance(d, datetime.datetime) + + +class AutocommitTextTest(test_execute.AutocommitTextTest): + def test_load_data(self): + self._test_keyword("LOAD DATA STUFF") + + def test_replace(self): + self._test_keyword("REPLACE THING")