mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +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)
|