Minor fixes + tests + getSupportURL().

This commit is contained in:
Mikaël Capelle
2022-05-02 17:09:36 +02:00
parent 225c86d258
commit 6ea9d92b26
19 changed files with 203 additions and 51 deletions
+12
View File
@@ -0,0 +1,12 @@
import pytest
from PyQt6.QtWidgets import QWidget
m = pytest.importorskip("mobase_tests.organizer")
def test_getters():
o = m.organizer()
assert o.profileName() == "profile"
assert o.startApplication("") == 4654
assert o.waitForApplication(42) == (False, -1)
assert o.waitForApplication(4654) == (True, 0)