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:
Mikaël Capelle
2024-06-28 11:48:30 +02:00
committed by GitHub
parent 7cfc761e40
commit 6623e19754
30 changed files with 662 additions and 80 deletions
+2 -7
View File
@@ -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)