Open HolQue opened 1 week ago
An imported file imports itself. All imports based on dynamic paths.
Result:
The import is not resolved. The cyclic import is not detected.
{'[import]': '... /dynamic_imports/cyclic_import_2.jsonp', 'imports_dir': 'dynamic_imports', 'root_name': 'cyclic_import'}
Expected: Cyclic import detected
Detection must work on any level. Can be also that cyclic import appears two levels deeper.
Imports are resolved now. But: https://github.com/test-fullautomation/python-jsonpreprocessor/issues/387
An imported file imports itself. All imports based on dynamic paths.
Result:
The import is not resolved. The cyclic import is not detected.
Expected: Cyclic import detected
Detection must work on any level. Can be also that cyclic import appears two levels deeper.