summaryrefslogtreecommitdiff
path: root/test/dialect/mysql/test_compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/mysql/test_compiler.py')
-rw-r--r--test/dialect/mysql/test_compiler.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/dialect/mysql/test_compiler.py b/test/dialect/mysql/test_compiler.py
index be5f002e3..3c33f540c 100644
--- a/test/dialect/mysql/test_compiler.py
+++ b/test/dialect/mysql/test_compiler.py
@@ -336,7 +336,12 @@ class SQLTest(fixtures.TestBase, AssertsCompiledSQL):
)
def test_utc_timestamp(self):
- self.assert_compile(func.utc_timestamp(), "UTC_TIMESTAMP")
+ self.assert_compile(func.utc_timestamp(), "utc_timestamp()")
+
+ def test_utc_timestamp_fsp(self):
+ self.assert_compile(
+ func.utc_timestamp(5), "utc_timestamp(%s)",
+ checkparams={"utc_timestamp_1": 5})
def test_sysdate(self):
self.assert_compile(func.sysdate(), "SYSDATE()")