mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
6 lines
300 B
Python
6 lines
300 B
Python
def test_database_module_exports():
|
|
# Ensure the backward-compat module exports the expected symbols
|
|
import importlib
|
|
m = importlib.import_module('nodupe.tools.databases.database')
|
|
assert 'Database' in getattr(m, '__all__', [])
|
|
assert 'DatabaseError' in getattr(m, '__all__', [])
|