mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Minor fixes + tests + getSupportURL().
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user