mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-07 01:10:52 -04:00
672087176e
this is safe for 1.3.x Change-Id: Icba38fdc20f5d8ac407383a4278ccb346e09af38
18 lines
555 B
Python
18 lines
555 B
Python
from sqlalchemy import dialects
|
|
from sqlalchemy.testing import fixtures
|
|
from sqlalchemy.testing import is_not
|
|
|
|
|
|
class ImportStarTest(fixtures.TestBase):
|
|
def _all_dialect_packages(self):
|
|
return [
|
|
getattr(__import__("sqlalchemy.dialects.%s" % d).dialects, d)
|
|
for d in dialects.__all__
|
|
if not d.startswith("_")
|
|
]
|
|
|
|
def test_all_import(self):
|
|
for package in self._all_dialect_packages():
|
|
for item_name in package.__all__:
|
|
is_not(None, getattr(package, item_name))
|