diff options
Diffstat (limited to 'sources/pyside6/tests/QtDBus')
-rw-r--r-- | sources/pyside6/tests/QtDBus/CMakeLists.txt | 3 | ||||
-rw-r--r-- | sources/pyside6/tests/QtDBus/test_dbus.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtDBus/CMakeLists.txt b/sources/pyside6/tests/QtDBus/CMakeLists.txt index bb0e17e04..bf2d2105a 100644 --- a/sources/pyside6/tests/QtDBus/CMakeLists.txt +++ b/sources/pyside6/tests/QtDBus/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2023 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + if(ENABLE_UNIX) PYSIDE_TEST(test_dbus.py) endif() diff --git a/sources/pyside6/tests/QtDBus/test_dbus.py b/sources/pyside6/tests/QtDBus/test_dbus.py index 6b6a892dd..a37db9421 100644 --- a/sources/pyside6/tests/QtDBus/test_dbus.py +++ b/sources/pyside6/tests/QtDBus/test_dbus.py @@ -12,7 +12,7 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1])) from init_paths import init_test_paths init_test_paths(False) -from helper.usesqcoreapplication import UsesQCoreApplication +from helper.usesqapplication import UsesQApplication import sys from PySide6.QtCore import QCoreApplication @@ -32,7 +32,7 @@ def service_names(): return reply.value() -class TestDBus(UsesQCoreApplication): +class TestDBus(UsesQApplication): '''Simple Test case for QDBus''' def test_service_names(self): |