mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Expose INVALID_HANDLE_VALUE as mobase.INVALID_HANDLE_VALUE. (#131)
* Expose INVALID_HANDLE_VALUE as mobase.INVALID_HANDLE_VALUE. * Add tests for startApplication() returning INVALID_HANDLE_VALUE. * Clean tests and generate stub files for them.
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
from re import A
|
||||
|
||||
import pytest
|
||||
from PyQt6.QtCore import QDateTime, Qt
|
||||
|
||||
m = pytest.importorskip("mobase_tests.shared_cpp_owner")
|
||||
import mobase_tests.shared_cpp_owner as m
|
||||
|
||||
|
||||
class PyBase(m.Base):
|
||||
@@ -54,7 +49,7 @@ def test_shared_cpp_owner_3():
|
||||
assert not m.is_alive("foo")
|
||||
|
||||
|
||||
def test_shared_cpp_owner_3():
|
||||
def test_shared_cpp_owner_4():
|
||||
# create from Python, owned by C++
|
||||
|
||||
p = PyBase("foo", 2)
|
||||
|
||||
Reference in New Issue
Block a user