summaryrefslogtreecommitdiff
path: root/test/dialect/test_access.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-09-30 20:17:49 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-09-30 20:17:49 -0400
commitfab9be5d0ea3e329921d6c474c4ecc618bda17ec (patch)
tree7fa0152a1fcb07f502f323b1a371f05102e167b4 /test/dialect/test_access.py
parent68fb10cae5069ca4408d38d546ac09d374171926 (diff)
downloadsqlalchemy-fab9be5d0ea3e329921d6c474c4ecc618bda17ec.tar.gz
- [feature] the MS Access dialect has been
moved to its own project on Bitbucket, taking advantage of the new SQLAlchemy dialect compliance suite. The dialect is still in very rough shape and probably not ready for general use yet, however it does have *extremely* rudimental functionality now.
Diffstat (limited to 'test/dialect/test_access.py')
-rw-r--r--test/dialect/test_access.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/dialect/test_access.py b/test/dialect/test_access.py
deleted file mode 100644
index 951d43e1a..000000000
--- a/test/dialect/test_access.py
+++ /dev/null
@@ -1,31 +0,0 @@
-from sqlalchemy import *
-from sqlalchemy import sql
-from sqlalchemy.databases import access
-from sqlalchemy.testing import *
-
-
-class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
- __dialect__ = access.dialect()
-
- def test_extract(self):
- t = sql.table('t', sql.column('col1'))
-
- mapping = {
- 'month': 'm',
- 'day': 'd',
- 'year': 'yyyy',
- 'second': 's',
- 'hour': 'h',
- 'doy': 'y',
- 'minute': 'n',
- 'quarter': 'q',
- 'dow': 'w',
- 'week': 'ww'
- }
-
- for field, subst in mapping.items():
- self.assert_compile(
- select([extract(field, t.c.col1)]),
- 'SELECT DATEPART("%s", t.col1) AS anon_1 FROM t' % subst)
-
-