# -*- coding: utf-8 -*-
#
# Licensed under the terms of the BSD 3-Clause
# (see cdl/LICENSE for details)

"""
Profiling
"""

# guitest: skip

from cdl.env import execenv
from cdl.tests import cdltest_app_context


def test_profiling():
    """Profiling test"""
    with execenv.context(unattended=True):
        with cdltest_app_context() as win:
            win.open_h5_files(
                [
                    "C:/Dev/Projets/X-GRID_data/Projets_Oasis/XGRID5/"
                    "VS000001-blobs_doh_profiling.h5"
                ],
                import_all=True,
            )


if __name__ == "__main__":
    test_profiling()
