# Copyright (c) 2023, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
#
__all__ = ["TestWindow"]

from omni.kit.window.welcome.window import WelcomeWindow
import omni.kit.app
import omni.kit.test


class TestWindow(omni.kit.test.AsyncTestCase):
    async def test_general(self):
        """Create a window and make sure there are no errors"""

        window = WelcomeWindow("Welcome Window Test", buttons={})
        await omni.kit.app.get_app().next_update_async()
