]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- pull autocommit suite into the mysql suite as well
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Feb 2017 19:33:21 +0000 (14:33 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Feb 2017 19:33:21 +0000 (14:33 -0500)
Change-Id: If1106f7f125739e69ad2482f65b8f37672a76c9e

test/dialect/mysql/test_dialect.py

index 37c613e726923b6b046a40a6b3a010fc83a15bcf..3f6e7e5168e4dab82a8b3730a0b83efa56895e57 100644 (file)
@@ -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")