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

"""
Module for taking DataLab screenshots
"""

from cdl import config
from cdl.tests.features.applauncher import launcher1_app_test
from cdl.tests.scenarios import beautiful_app

if __name__ == "__main__":
    print("Updating screenshots...", end=" ")
    config.reset()  # Reset configuration (remove configuration file and initialize it)
    launcher1_app_test.test_launcher1(screenshots=True)
    config.reset()
    beautiful_app.run_beautiful_scenario(screenshots=True)
    print("done.")
