mirror of
https://github.com/ceph/ceph
synced 2025-01-23 19:46:56 +00:00
b0bdbc3414
this change partially reverts #34139 using relative import helps with readability and ease the pain to write down the full parent module name in #34139, all relative imports were replaced with full path, because we were using following code to verify if the code is python3 compatible: ``` mod_spec = importlib.util.spec_from_file_location(mod_name, path) mod = importlib.util.module_from_spec(mod_spec) mod_spec.loader.exec_module(mod) ``` but this does not work with submodule which can import using relative import without specifying the name of the package and its parent module. Signed-off-by: Kefu Chai <kchai@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
helper.py | ||
test_auth.py | ||
test_cephfs.py | ||
test_cluster_configuration.py | ||
test_crush_rule.py | ||
test_erasure_code_profile.py | ||
test_ganesha.py | ||
test_health.py | ||
test_host.py | ||
test_logs.py | ||
test_mgr_module.py | ||
test_monitor.py | ||
test_orchestrator.py | ||
test_osd.py | ||
test_perf_counters.py | ||
test_pool.py | ||
test_rbd_mirroring.py | ||
test_rbd.py | ||
test_requests.py | ||
test_rgw.py | ||
test_role.py | ||
test_settings.py | ||
test_summary.py | ||
test_user.py |