mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-12-01 22:14:04 +03:00
15 lines
446 B
Python
15 lines
446 B
Python
"""Dependency injector common catalogs unittests."""
|
|
|
|
import unittest2 as unittest
|
|
|
|
|
|
class CatalogModuleBackwardCompatibility(unittest.TestCase):
|
|
"""Backward compatibility test of catalog module."""
|
|
|
|
def test_import_catalog(self):
|
|
"""Test that module `catalog` is the same as `catalogs`."""
|
|
from dependency_injector import catalog
|
|
from dependency_injector import catalogs
|
|
|
|
self.assertIs(catalog, catalogs)
|